new: full screen

This commit is contained in:
lollipopkit
2023-06-08 22:17:26 +08:00
parent 342c3ea295
commit 0ddfc4ec75
12 changed files with 370 additions and 5 deletions

View File

@@ -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: []);
}