mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-17 03:06:39 -07:00
[Chore] Update flutter to 3.24
This commit is contained in:
parent
f59a08fa6f
commit
1b5d751855
11 changed files with 23 additions and 23 deletions
|
|
@ -115,7 +115,7 @@ class _PhotoViewerControllsState extends ConsumerState<PhotoViewerControls> with
|
|||
|
||||
final padding = MediaQuery.of(context).padding;
|
||||
return PopScope(
|
||||
onPopInvoked: (popped) async {
|
||||
onPopInvokedWithResult: (didPop, result) async {
|
||||
await WakelockPlus.disable();
|
||||
},
|
||||
child: KeyboardListener(
|
||||
|
|
|
|||
|
|
@ -143,7 +143,8 @@ class _PhotoViewerScreenState extends ConsumerState<PhotoViewerScreen> with Widg
|
|||
return Theme(
|
||||
data: ThemesData.of(context).dark,
|
||||
child: PopScope(
|
||||
onPopInvoked: (popped) async => SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge, overlays: []),
|
||||
onPopInvokedWithResult: (didPop, result) =>
|
||||
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge, overlays: []),
|
||||
child: MouseRegion(
|
||||
opaque: AdaptiveLayout.of(context).isDesktop,
|
||||
onEnter: (event) => setState(() => _showOverlay(show: true)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue