VxContextExtensions extension
Extensions for general basic Context
- on
Properties
- accentColor → Color
-
Available on BuildContext, provided by the VxContextExtensions extension
The foreground color for widgets (knobs, text, overscroll edge effect, etc).no setter - backgroundColor → Color
-
Available on BuildContext, provided by the VxContextExtensions extension
A color that contrasts with the primaryColor.no setter - bodyLarge → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - bodyMedium → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - bodySmall → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - brightness → Brightness
-
Available on BuildContext, provided by the VxContextExtensions extension
The default brightness of the Theme.no setter - canvasColor → Color
-
Available on BuildContext, provided by the VxContextExtensions extension
The default color of MaterialType.canvas Material.no setter - captionStyle → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
Extension for getting textThemeno setter - cardColor → Color
-
Available on BuildContext, provided by the VxContextExtensions extension
The default color of MaterialType.card Material.no setter - colors → ColorScheme
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - cupertinoTheme → CupertinoThemeData
-
Available on BuildContext, provided by the VxContextExtensions extension
Extension for getting CupertinoThemeDatano setter - displayLarge → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - displayMedium → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - displaySmall → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - form → FormState?
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns The state from the closest instance of this class that encloses the given context. It is used for validating formsno setter - headlineLarge → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - headlineMedium → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - headlineSmall → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - isDarkMode → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
If the ThemeData of the current BuildContext is darkno setter - isLandscape → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns if Orientation is landscapeno setter - isMobile → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
Check if the window size is of Mobile Type as per Material Design Guidlines.no setter - isMobileTypeHandset → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns if it's a handset as per Material Design Guidlines.no setter - isMobileTypeTablet → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns if it's a tablet as per Material Design Guidlines.no setter - labelLarge → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - labelMedium → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - labelSmall → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - mdColumns → int
-
Available on BuildContext, provided by the VxContextExtensions extension
Screen Sizes Extensions for responsive UI Returns Material no. of Columns as per Material Design Guidlines.no setter - mdDeviceSize → MobileDeviceSize
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns device size as per Material Design Guidlines.no setter - mdDeviceType → MobileDeviceType
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns device Type as per Material Design Guidlines.no setter - mdGutter → double
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns Material no. of Gutters as per Material Design Guidlines.no setter - mdWindowSize → VxWindowSize
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns the current window size as per Material Design Guidlines.no setter - mq → MediaQueryData
-
Available on BuildContext, provided by the VxContextExtensions extension
To get a MediaQuery directly.no setter -
Available on BuildContext, provided by the VxContextExtensions extension
Extension for getting NavigatorState. Use navigator now.no setter -
Available on BuildContext, provided by the VxContextExtensions extension
Extension for navigation to next page Returns The state from the closest instance of this class that encloses the given context.no setter - orientation → Orientation
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns Orientation using MediaQueryno setter - overlay → OverlayState?
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns The state from the closest instance of this class that encloses the given context.no setter - percentHeight → double
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery Screen height in percentageno setter - percentWidth → double
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery Screen Width in percentageno setter - primaryColor → Color
-
Available on BuildContext, provided by the VxContextExtensions extension
The background color for major parts of the app (toolbars, tab bars, etc).no setter - safePercentHeight → double
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery Screen Height in percentage including safe area calculation.no setter - safePercentWidth → double
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery Screen Width in percentage including safe area calculation.no setter - scaffold → ScaffoldState
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns the closest instance of ScaffoldState in the widget tree, which can be use to get information about that scaffold.no setter - screenDensity → double
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery Screen Densityno setter - screenHeight → double
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery Screen Heightno setter - screenPadding → EdgeInsets
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery Screen Paddingno setter - screenSize → Size
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery Screen Sizeno setter - screenWidth → double
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery Screen Widthno setter - textTheme → TextTheme
-
Available on BuildContext, provided by the VxContextExtensions extension
Extension for getting textThemeno setter - theme → ThemeData
-
Available on BuildContext, provided by the VxContextExtensions extension
Extension for getting Themeno setter - titleLarge → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - titleMedium → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - titleSmall → TextStyle?
-
Available on BuildContext, provided by the VxContextExtensions extension
no setter - vxlocale → Locale?
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns The current Locale of the app as specified in the Localizations widget.no setter -
Available on BuildContext, provided by the VxContextExtensions extension
no setter
Methods
-
addOverlay(
WidgetBuilder builder) → OverlayEntry -
Available on BuildContext, provided by the VxContextExtensions extension
Insert the given widget into the overlay. The newly inserted widget will always be at the top. -
invokeAction(
Intent intent) → bool? -
Available on BuildContext, provided by the VxContextExtensions extension
Action Extension -
nextAndRemoveUntilPage(
Widget page) → void -
Available on BuildContext, provided by the VxContextExtensions extension
Removing all the widgets till defined rule, and pushes the built widget to the screen using the material fade in animation -
nextPage(
Widget page, {bool maintainState = true}) → void -
Available on BuildContext, provided by the VxContextExtensions extension
Pushes the built widget to the screen using the material fade in animation -
nextReplacementPage(
Widget page, {bool maintainState = true}) → void -
Available on BuildContext, provided by the VxContextExtensions extension
Pushes and replacing the built widget to the screen using the material fade in animation -
pop<
T> ([T? result]) → void -
Available on BuildContext, provided by the VxContextExtensions extension
Removes the top most Widget in the navigator's stack -
push<
T> (WidgetBuilder builder) → Future< T?> -
Available on BuildContext, provided by the VxContextExtensions extension
Pushes the built widget to the screen using the material fade in animation