main, fix older versions of Android not being able to see bottom widgets when keyboard is open.
This commit is contained in:
1 parent
f5e368a902
commit
7ab13dd4de
1 file changed
+4
-1
+4
-1
@@ -368,7 +368,9 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(title: const Text('Sunset Alarm')),
|
||||
body: Padding(
|
||||
resizeToAvoidBottomInset: true, // default, but be explicit
|
||||
body: SingleChildScrollView(
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
@@ -547,6 +549,7 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user