increase min sdk and apply new formatter

This commit is contained in:
Fabian Freund
2025-02-18 15:37:03 +01:00
parent f7885fc829
commit a1ee8bef35
266 changed files with 11329 additions and 10058 deletions
@@ -21,32 +21,31 @@ class MyAppState extends State<MyApp> {
title: const Text('Native Fragment Example'),
actions: [
MenuAnchor(
builder: (context, controller, child) => IconButton(
builder:
(context, controller, child) => IconButton(
onPressed: () {
controller.open();
},
icon: const Icon(Icons.menu)),
menuChildren: [
MenuItemButton(
onPressed: () async {
await GeckoSessionService.forActiveTab().reload();
},
child: const Text('Reload'),
icon: const Icon(Icons.menu),
),
MenuItemButton(
onPressed: () async {
await GeckoSessionService.forActiveTab().goBack();
},
child: const Text('Back'),
)
])
menuChildren: [
MenuItemButton(
onPressed: () async {
await GeckoSessionService.forActiveTab().reload();
},
child: const Text('Reload'),
),
MenuItemButton(
onPressed: () async {
await GeckoSessionService.forActiveTab().goBack();
},
child: const Text('Back'),
),
],
),
],
),
body: const SafeArea(
child: Center(
child: GeckoView(),
),
),
body: const SafeArea(child: Center(child: GeckoView())),
),
);
}