]> git.proxmox.com Git - flutter/proxmox_login_manager.git/commitdiff
login form: ensure textfields are visibile when keyboard is shown
authorTim Marx <t.marx@proxmox.com>
Mon, 7 Sep 2020 09:46:08 +0000 (11:46 +0200)
committerTim Marx <t.marx@proxmox.com>
Mon, 7 Sep 2020 09:46:08 +0000 (11:46 +0200)
Signed-off-by: Tim Marx <t.marx@proxmox.com>
lib/proxmox_login_form.dart

index ba3450aa7cc036e8fbab113d0868bd95981fa14b..15abc6d1217070a71e012100c99d232931988c2d 100644 (file)
@@ -194,9 +194,9 @@ class _ProxmoxLoginPageState extends State<ProxmoxLoginPage> {
   Widget build(BuildContext context) {
     return Theme(
       data: ThemeData.dark().copyWith(accentColor: Color(0xFFE47225)),
-      child: Material(
-        color: Theme.of(context).primaryColor,
-        child: Stack(
+      child: Scaffold(
+        backgroundColor: Theme.of(context).primaryColor,
+        body: Stack(
           children: [
             SingleChildScrollView(
               child: ConstrainedBox(