hc_utils/system/hc_system_utility library

Classes

HcScrollBehavior
Custom scroll behaviour widget

Extensions

Hex on Color

Functions

hcEnterFullScreen() → void
hcExitFullScreen() → void
hcFinish(BuildContext context, [Object? result]) → void
Go back to previous screen.
hcHideStatusBar() Future<void>
This function will hide status bar
hcInvokeNativeMethod<T>(String channel, String method, [dynamic arguments]) Future<T?>
Invoke Native method and get result
hcLaunchNewScreen<T>(BuildContext context, String tag) Future<T?>
Go to new screen with provided screen tag.
hcLaunchNewScreenWithNewTask<T>(BuildContext context, String tag) Future<T?>
Removes all previous screens from the back stack and redirect to new screen with provided screen tag
hcScrollBehaviour() → (Widget Function(BuildContext, Widget?)?)
Custom scroll behaviour
hcSetDarkStatusBar() → void
Dark Status Bar
hcSetLightStatusBar() → void
Light Status Bar
hcSetOrientationLandscape() → void
Set orientation to landscape
hcSetOrientationPortrait() → void
Set orientation to portrait
hcSetStatusBarColor(Color statusBarColor, {Color? systemNavigationBarColor, Brightness? statusBarBrightness, Brightness? statusBarIconBrightness, int delayInMilliSeconds = 200}) Future<void>
Change status bar Color and Brightness
hcShowStatusBar() Future<void>
This function will show status bar