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
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>
paddingTop({bool isTopPadding = true, bool isRightPadding = true}) double
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?>
showSnackBar(String message) ScaffoldFeatureController<SnackBar, SnackBarClosedReason>
sizeRenderBox() Size
sizeStatusBottomBar() Size
sizeStatusTopBar() Size
toImagePng({FutureOr<void> onError(Object error, StackTrace stackTrace)?}) Future<Uint8List?>