ContextExt extension
- on
Properties
- colors → ColorScheme
-
Available on BuildContext, provided by the ContextExt extension
The colors scheme of the current theme.no setter - isDarkMode → bool
-
Available on BuildContext, provided by the ContextExt extension
If the ThemeMode is dark.no setter - texts → TextTheme
-
Available on BuildContext, provided by the ContextExt extension
The text styles of the current theme.no setter - theme → ThemeData
-
Available on BuildContext, provided by the ContextExt extension
Current theme of the app.no setter - view → FlutterView
-
Available on BuildContext, provided by the ContextExt extension
Current view of the app.no setter
Methods
-
ensureVisible(
{Duration duration = const Duration(milliseconds: 600), double aligment = 0.5}) → Future< void> -
Available on BuildContext, provided by the ContextExt extension
Ensure the context widget is entirely visible. Defaults to scroll center. -
visit<
T extends Widget> ({bool last = false, bool filter(T widget)?}) → Element? -
Available on BuildContext, provided by the ContextExt extension
Visits the firstTfound and returns its Element. -
visitAll<
T extends Widget> ({bool rebuild = false, void onWidget(Widget parent, T widget)?, void onElement(Element parent, Element element)?}) → List< T> -
Available on BuildContext, provided by the ContextExt extension
Visits allTwidgets below this context. IfTis absent, visits all.