BuildContextExt extension
- on
Properties
-
androidInfo
→ Future<
AndroidDeviceInfo> -
Available on BuildContext, provided by the BuildContextExt extension
Get the android device infono setter -
appInfo
→ Future<
ExAppModel> -
Available on BuildContext, provided by the BuildContextExt extension
Get the app infono setter - arguments → Object?
-
Available on BuildContext, provided by the BuildContextExt extension
Get the arguments passed to the current route.no setter - bottomPadding → double
-
Available on BuildContext, provided by the BuildContextExt extension
Get the bottom padding of the MediaQueryno setter - brightness → Brightness
-
Available on BuildContext, provided by the BuildContextExt extension
Returns current brightness independent of the theme.no setter - canPop → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Returns true if the navigator can pop.no setter - colorScheme → ColorScheme
-
Available on BuildContext, provided by the BuildContextExt extension
Get the current ColorSchemeno setter -
deviceInfo
→ Future<
BaseDeviceInfo> -
Available on BuildContext, provided by the BuildContextExt extension
Get the device infono setter - devicePixelRatio → double
-
Available on BuildContext, provided by the BuildContextExt extension
Get the device pixel rationo setter -
iosInfo
→ Future<
IosDeviceInfo> -
Available on BuildContext, provided by the BuildContextExt extension
Get the ios device infono setter - isAnimationsDisabled → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Returns true if system's animations are disabled by the user.no setter - isDarkMode → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Get the device dark modeno setter - isHighContrast → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Returns true if device accessibility high contrast is enabled.no setter - isKeyboardVisible → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Get if keyboard is visibleno setter - isLandscape → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Check if the device orientation is landscapeno setter - isLTR → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Check if the current directionality is left-to-rightno setter - isPortrait → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Check if the device orientation is portraitno setter - isRTL → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Check if the current directionality is right-to-leftno setter - isSmallScreen → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Returns true if width < 360px (useful for responsive).no setter - isTablet → bool
-
Available on BuildContext, provided by the BuildContextExt extension
Check if the device is tablet-sized (shortestSide ≥ 600)no setter - keyboardHeight → double
-
Available on BuildContext, provided by the BuildContextExt extension
Get the height of the keyboardno setter -
linuxInfo
→ Future<
LinuxDeviceInfo> -
Available on BuildContext, provided by the BuildContextExt extension
Get the Linux device infono setter - longestSide → double
-
Available on BuildContext, provided by the BuildContextExt extension
Returns the longest screen dimension.no setter -
macosInfo
→ Future<
MacOsDeviceInfo> -
Available on BuildContext, provided by the BuildContextExt extension
Get the macos device infono setter - orientation → Orientation
-
Available on BuildContext, provided by the BuildContextExt extension
Get the device orientationno setter -
packageInfo
→ Future<
PackageInfo> -
Available on BuildContext, provided by the BuildContextExt extension
Get the package infono setter - shortestSide → double
-
Available on BuildContext, provided by the BuildContextExt extension
Returns the shortest screen dimension.no setter - textTheme → TextTheme
-
Available on BuildContext, provided by the BuildContextExt extension
Get the current TextThemeno setter - theme → ThemeData
-
Available on BuildContext, provided by the BuildContextExt extension
Get the current ThemeDatano setter - topPadding → double
-
Available on BuildContext, provided by the BuildContextExt extension
Get the top padding of the MediaQueryno setter -
webBrowserInfo
→ Future<
WebBrowserInfo> -
Available on BuildContext, provided by the BuildContextExt extension
Get the web browser infono setter - widgetPosition → Offset
-
Available on BuildContext, provided by the BuildContextExt extension
Returns global position of the widget.no setter - widgetSize → Size
-
Available on BuildContext, provided by the BuildContextExt extension
Returns the size of the widget tied to this context.no setter -
windowsInfo
→ Future<
WindowsDeviceInfo> -
Available on BuildContext, provided by the BuildContextExt extension
Get the windows device infono setter
Methods
-
hideKeyboard(
) → void -
Available on BuildContext, provided by the BuildContextExt extension
Hide keyboard -
pop<
T extends Object?> ({T? result}) → void -
Available on BuildContext, provided by the BuildContextExt extension
Pop the current route off the navigator stack -
popAndPushNamed<
T extends Object?, TO extends Object?> (String route, {TO? result, Object? arguments}) → Future< T?> -
Available on BuildContext, provided by the BuildContextExt extension
Pop the current route off the navigator stack and push a new route. -
push<
T extends Object?> (Widget page) → Future< T?> -
Available on BuildContext, provided by the BuildContextExt extension
Push a new page with the given widget directly. -
pushAndRemoveUntil<
T extends Object?, TO extends Object?> (Widget page, bool predicate(Route)) → Future< T?> -
Available on BuildContext, provided by the BuildContextExt extension
Push a page and remove until a route is found. -
pushNamed<
T extends Object?> (String routeName, {Object? arguments}) → Future< T?> -
Available on BuildContext, provided by the BuildContextExt extension
Push a named route onto the navigator. -
pushNamedAndRemoveUntil<
T extends Object?, TO extends Object?> (String route, bool predicate(Route), {Object? arguments}) → Future< T?> -
Available on BuildContext, provided by the BuildContextExt extension
Push a named route and remove until a route is found. -
pushReplacement<
T extends Object?, TO extends Object?> (Widget page, {Object? result}) → Future< T?> -
Available on BuildContext, provided by the BuildContextExt extension
Push a replacement page with the given widget directly. -
pushReplacementNamed<
T extends Object?, TO extends Object?> (String route, {Object? result, Object? arguments}) → Future< T?> -
Available on BuildContext, provided by the BuildContextExt extension
Push a replacement named route with arguments if needed.