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 -
Available on BuildContext, provided by the VxContextExtensions extension
True if width be larger than 800no 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 - devicePixelRatio → double
-
Available on BuildContext, provided by the VxContextExtensions extension
Get MediaQuery devicePixelRationo 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 - 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 - isLargeSize → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
Check if the window size is large.no setter - isMediumSize → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
Check if the window size is medium.no 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 - isSmallSize → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
Check if the window size is small.no setter - isXLargeSize → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
Check if the window size is xlarge.no setter - isXSmallSize → bool
-
Available on BuildContext, provided by the VxContextExtensions extension
Check if the window size is xsmall.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 - maybeView → FlutterView?
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns the FlutterView that the providedcontext
will render into.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 - orientation → Orientation
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns Orientation using MediaQueryno 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 - 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 - view → FlutterView
-
Available on BuildContext, provided by the VxContextExtensions extension
Returns the FlutterView that the providedcontext
will render into.no setter - vxform → 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 - 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
Extension for navigation to next page Returns The state from the closest instance of this class that encloses the given context.no setter - vxoverlay → 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 - vxscaffold → 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
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. -
heightTransformer(
{double dividedBy = 1, double reducedBy = 0.0}) → double -
Available on BuildContext, provided by the VxContextExtensions extension
Gives you the power to get a portion of the height. Useful for responsive applications. -
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 -
ratio(
{double dividedBy = 1, double reducedByW = 0.0, double reducedByH = 0.0}) → double -
Available on BuildContext, provided by the VxContextExtensions extension
Divide the height proportionally by the given value -
widthTransformer(
{double dividedBy = 1, double reducedBy = 0.0}) → double -
Available on BuildContext, provided by the VxContextExtensions extension
Gives you the power to get a portion of the width. Useful for responsive applications.