Skip to content

ConditionalSizeView

Compare
Choose a tag to compare
@luizmb luizmb released this 27 Oct 15:53
· 39 commits to master since this release
c2d8bfa

ConditionalSizeView, for situations where you need to provide different variants of the same view according to the available space you have. This can be useful to overcome SizeClass limitations, and also for when Image that should not be resized on-the-fly, but instead having different well-defined variants that will be applied according to the parent size (using the SwiftUI layout-system, based on negotiable sizes).