mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 23:10:40 +00:00
added ScaffoldMessenger
This commit is contained in:
parent
f68aea5133
commit
138e87466b
1 changed files with 22 additions and 20 deletions
|
@ -12,7 +12,8 @@ class SettingsScreen extends StatelessWidget {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return SliverScreen(
|
return ScaffoldMessenger(
|
||||||
|
child: SliverScreen(
|
||||||
title: S.of(context).settings,
|
title: S.of(context).settings,
|
||||||
appBarActions: [
|
appBarActions: [
|
||||||
IconButton(
|
IconButton(
|
||||||
|
@ -33,6 +34,7 @@ class SettingsScreen extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue