BuildContextExtension<T> extension
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
-
-
extensionGeneralLibFlutterBorderAll()
→ Border
-
-
extensionGeneralLibFlutterBoxDecoration({required bool isUseBorderAll, required bool isUseBoxShadow})
→ BoxDecoration
-
-
extensionGeneralLibFlutterBoxShadows()
→ List<BoxShadow>
-
-
extensionGeneralLibFlutterShadows()
→ List<Shadow>
-
-
extensionGeneralLibFlutterSizePhotoLarge()
→ Size
-
-
extensionGeneralLibFlutterSizePhotoMedium()
→ Size
-
-
extensionGeneralLibFlutterSizePhotoSmall()
→ Size
-
-
navigator({bool rootNavigator = false})
→ NavigatorState
-
-
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?>
-