Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 531 Bytes

anyview.md

File metadata and controls

7 lines (4 loc) · 531 Bytes

AnyView

AnyView allows changing the type of view used in a given view hierarchy. Whenever the type of view used with an AnyView changes.

Constructors

ConstructorsDescription
AnyView<‘msg, ‘marker when ‘marker :> IView>(widget: WidgetBuilder<‘msg, ‘marker>)Downcast to IView to allow to return different types of views in a single expression (e.g. if/else, match with pattern, etc.)