mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
new: full screen
This commit is contained in:
@@ -74,7 +74,7 @@ Future<T?> showRoundDialog<T>({
|
||||
Widget buildSwitch(
|
||||
BuildContext context,
|
||||
StoreProperty<bool> prop, {
|
||||
Function(bool)? func,
|
||||
void Function(bool)? func,
|
||||
}) {
|
||||
return ValueListenableBuilder(
|
||||
valueListenable: prop.listenable(),
|
||||
@@ -167,3 +167,8 @@ void showSnippetDialog(
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
void hideStatusBar() {
|
||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky,
|
||||
overlays: []);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user