BuildContextExtension<T> extension

on

Properties

background Color
no setter
bodyExtraSmall TextStyle?
no setter
bodyLarge TextStyle?
no setter
bodySmall TextStyle?
no setter
cardColor Color
no setter
displayMedium TextStyle?
no setter
displaySmall TextStyle?
no setter
dividerTextLarge TextStyle?
no setter
dividerTextSmall TextStyle?
no setter
errorColor Color
no setter
headlineLarge TextStyle?
no setter
headlineMedium TextStyle?
no setter
height double
no setter
isDesktop bool
no setter
isMobile bool
no setter
isSmall bool
no setter
isSmallTablet bool
no setter
isTablet bool
no setter
labelLarge TextStyle?
no setter
mediaQueryData MediaQueryData
no setter
onPrimary Color
no setter
onSecondary Color
no setter
orientation Orientation
no setter
pageStorageBucket PageStorageBucket
no setter
pageStorageBucketMaybeOf PageStorageBucket?
no setter
primary Color
no setter
primaryColor Color
no setter
primaryColorDark Color
no setter
primaryColorLight Color
no setter
scaffoldMessenger ScaffoldMessengerState
no setter
secondary Color
no setter
size Size
no setter
theme ThemeData
no setter
titleLarge TextStyle?
no setter
titleMedium TextStyle?
no setter
titleSmall TextStyle?
no setter
titleTextStyle TextStyle?
no setter
width double
no setter

Methods

animateScroll({double alignment = 0.0, Duration? duration, Curve curve = Curves.ease, ScrollPositionAlignmentPolicy alignmentPolicy = ScrollPositionAlignmentPolicy.explicit}) Future<void>
boxConstraints({double? minWidth, double maxWidth = double.infinity, double? minHeight, double maxHeight = double.infinity}) BoxConstraints
paddingTop({bool isTopPadding = true, bool isRightPadding = true}) double
router<A extends Object?>() Router<A>
showBottomSheet(Widget child, {bool isScrollControlled = true, Color? backgroundColor, Color? barrierColor}) Future<T?>
showDialog<B>({required Widget builder(BuildContext context), bool barrierDismissible = true, Color? barrierColor, String? barrierLabel, bool useSafeArea = true, bool useRootNavigator = true, RouteSettings? routeSettings, Offset? anchorPoint, TraversalEdgeBehavior? traversalEdgeBehavior}) Future<B?>
showLoadingCircularProgressIndicator<T>({bool barrierDismissible = false, bool canPop = false}) Future<T?>
showSnackBar(String message) ScaffoldFeatureController<SnackBar, SnackBarClosedReason>
sizeRenderBox() Size
sizeStatusBottomBar() Size
sizeStatusTopBar() Size
toImagePng({double pixelRatio = 1.0, FutureOr<void> onError(Object error, StackTrace stackTrace)?}) Future<Uint8List?>