ContextExtensions extension
- on
Properties
- accentColor → Color
-
Available on BuildContext, provided by the ContextExtensions extension
Returns accentColor Colorno setter - cardColor → Color
-
Available on BuildContext, provided by the ContextExtensions extension
Returns cardColor Colorno setter - defaultTextStyle → DefaultTextStyle
-
Available on BuildContext, provided by the ContextExtensions extension
Returns DefaultTextStyle.of(context)no setter - dividerColor → Color
-
Available on BuildContext, provided by the ContextExtensions extension
Returns dividerColor Colorno setter - formState → FormState?
-
Available on BuildContext, provided by the ContextExtensions extension
Returns Form.of(context)no setter - iconColor → Color
-
Available on BuildContext, provided by the ContextExtensions extension
Returns dividerColor Colorno setter -
Available on BuildContext, provided by the ContextExtensions extension
Return the height of navigation barno setter - overlayState → OverlayState?
-
Available on BuildContext, provided by the ContextExtensions extension
Returns Overlay.of(context)no setter - primaryColor → Color
-
Available on BuildContext, provided by the ContextExtensions extension
Returns primaryColor Colorno setter - scaffoldBackgroundColor → Color
-
Available on BuildContext, provided by the ContextExtensions extension
Returns scaffoldBackgroundColor Colorno setter - scaffoldState → ScaffoldState
-
Available on BuildContext, provided by the ContextExtensions extension
Returns Scaffold.of(context)no setter - statusBarHeight → double
-
Available on BuildContext, provided by the ContextExtensions extension
Return the height of status barno setter - textTheme → TextTheme
-
Available on BuildContext, provided by the ContextExtensions extension
Returns Theme.of(context).textThemeno setter - theme → ThemeData
-
Available on BuildContext, provided by the ContextExtensions extension
Returns Theme.of(context)no setter
Methods
-
height(
) → double -
Available on BuildContext, provided by the ContextExtensions extension
return screen height -
isDesktop(
) → bool -
Available on BuildContext, provided by the ContextExtensions extension
-
isPhone(
) → bool -
Available on BuildContext, provided by the ContextExtensions extension
-
isTablet(
) → bool -
Available on BuildContext, provided by the ContextExtensions extension
-
pixelRatio(
) → double -
Available on BuildContext, provided by the ContextExtensions extension
return screen devicePixelRatio -
platformBrightness(
) → Brightness -
Available on BuildContext, provided by the ContextExtensions extension
returns brightness -
requestFocus(
FocusNode focus) → void -
Available on BuildContext, provided by the ContextExtensions extension
Request focus to given FocusNode -
size(
) → Size -
Available on BuildContext, provided by the ContextExtensions extension
return screen size -
unFocus(
FocusNode focus) → void -
Available on BuildContext, provided by the ContextExtensions extension
Request focus to given FocusNode -
width(
) → double -
Available on BuildContext, provided by the ContextExtensions extension
return screen width