HcContextExtensions extension

on

Properties

hcAccentColor Color
Returns accentColor Color
no setter
hcCanPop bool
no setter
hcCardColor Color
Returns cardColor Color
no setter
hcDefaultTextStyle DefaultTextStyle
Returns DefaultTextStyle.of(context)
no setter
hcDividerColor Color
Returns dividerColor Color
no setter
hcFormState FormState?
Returns Form.of(context)
no setter
hcIconColor Color
Returns dividerColor Color
no setter
hcIsAndroid bool
no setter
hcIsFuchsia bool
no setter
hcIsIOS bool
no setter
hcIsLandscape bool
no setter
hcIsLinux bool
no setter
hcIsMacOS bool
no setter
hcIsPortrait bool
no setter
hcIsWindows bool
no setter
hcNavigationBarHeight double
Return the height of navigation bar
no setter
hcOrientation Orientation
no setter
hcOverlayState OverlayState?
Returns Overlay.of(context)
no setter
hcPlatform TargetPlatform
no setter
hcPrimaryColor Color
Returns primaryColor Color
no setter
hcScaffoldBackgroundColor Color
Returns scaffoldBackgroundColor Color
no setter
hcScaffoldState ScaffoldState
Returns Scaffold.of(context)
no setter
hcStatusBarHeight double
Return the height of status bar
no setter
hcTextTheme TextTheme
Returns Theme.of(context).textTheme
no setter
hcTheme ThemeData
Returns Theme.of(context)
no setter

Methods

hcIsDesktop() bool
hcIsPhone() bool
hcIsTablet() bool
hcOpenDrawer() → void
hcOpenEndDrawer() → void
hcPixelRatio() double
return screen devicePixelRatio
hcPlatformBrightness() Brightness
returns brightness
hcPop<T extends Object>([T? result]) → void
hcRequestFocus(FocusNode focus) → void
Request focus to given FocusNode
hcScreenHeight() double
return screen height
hcScreenSize() Size
return screen size
hcScreenWidth() double
return screen width
hcUnFocus(FocusNode focus) → void
Request focus to given FocusNode