getStatusBarHeight static method
Returns the height of the status bar.
Implementation
static double getStatusBarHeight(BuildContext? context) {
return MediaQuery.of(context ?? Get.context!).padding.top;
}
Returns the height of the status bar.
static double getStatusBarHeight(BuildContext? context) {
return MediaQuery.of(context ?? Get.context!).padding.top;
}