AnyView
Last updated
Last updated
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.)
AnyView<‘msg, ‘marker when ‘marker :> IPage>(widget: WidgetBuilder<‘msg, ‘marker>)
Downcast to IPage to allow to return different types of pages in a single expression (e.g. if/else, match with pattern, etc.)
AnyView<‘msg, ‘marker when ‘marker :> ICell>(widget: WidgetBuilder<‘msg, ‘marker>)
Downcast to ICell to allow to return different types of cells in a single expression (e.g. if/else, match with pattern, etc.)