SizeExtension extension
- on
Properties
- alwaysUse24HourFormat → bool
-
no setter
- bottom → double
-
no setter
- bottomBarHeight → double
-
no setter
- bottomSheetKeyboardHeight → double
-
no setter
- bottomSheetKeyboardHeightRatio → double
-
no setter
- bottomSheetKeyboardPadding → EdgeInsets
-
no setter
- devicePixelRatio → double
-
no setter
- height → double
-
no setter
- heightRatio → double
-
no setter
- isDesktop → bool
-
no setter
- isKeyBoardOpen → bool
-
no setter
- isLandscape → bool
-
no setter
- isLargeTablet → bool
-
no setter
- isPhone → bool
-
no setter
- isPortrait → bool
-
no setter
- isSmallTablet → bool
-
no setter
- isTablet → bool
-
no setter
- keyboardHeight → double
-
no setter
- keyboardPadding → EdgeInsets
-
no setter
- mediaQuery → MediaQueryData
-
no setter
- mediaQueryPadding → EdgeInsets
-
no setter
- mediaQueryShortestSide → double
-
no setter
- mediaQueryViewInsets → EdgeInsets
-
no setter
- orientation → Orientation
-
no setter
- platform → TargetPlatform
-
no setter
- platformBrightness → Brightness
-
no setter
- safeAreaHeight → double
-
no setter
- size → Size
-
no setter
- statusBarHeight → double
-
no setter
- textTheme → TextTheme
-
no setter
- top → double
-
no setter
- width → double
-
no setter
- widthRatio → double
-
no setter
Methods
-
aspectRatio(
double width, double height) → double -
dynamicHeight(
double value) → double -
dynamicWidth(
double value) → double -
hideCurrentSnackBar(
{SnackBarClosedReason reason = SnackBarClosedReason.hide}) → void -
hideKeyboard(
) → void -
openDrawer(
) → void -
openEndDrawer(
) → void -
openKeyboard(
) → void -
removeCurrentSnackBar(
{SnackBarClosedReason reason = SnackBarClosedReason.remove}) → void -
showBottomSheet(
WidgetBuilder builder, {Color? backgroundColor, double? elevation, ShapeBorder? shape, Clip? clipBehaviour}) → void -
showSnackBar(
SnackBar snackbar) → ScaffoldFeatureController< SnackBar, SnackBarClosedReason>