]> git.proxmox.com Git - flutter/proxmox_login_manager.git/blobdiff - lib/proxmox_login_form.dart
tree wide: avoid using private types in public APIs for State
[flutter/proxmox_login_manager.git] / lib / proxmox_login_form.dart
index 62a6dfb8ebbd9561c09b2ff03fb667ff07c873ec..5776ea516ea50796bdaa7be0c7bb387fa5dc1be7 100644 (file)
@@ -60,7 +60,7 @@ class ProxmoxLoginForm extends StatefulWidget {
   }) : super(key: key);
 
   @override
-  _ProxmoxLoginFormState createState() => _ProxmoxLoginFormState();
+  State<ProxmoxLoginForm> createState() => _ProxmoxLoginFormState();
 }
 
 class _ProxmoxLoginFormState extends State<ProxmoxLoginForm> {
@@ -200,7 +200,7 @@ class ProxmoxLoginPage extends StatefulWidget {
     this.password,
   }) : super(key: key);
   @override
-  _ProxmoxLoginPageState createState() => _ProxmoxLoginPageState();
+  State<ProxmoxLoginPage> createState() => _ProxmoxLoginPageState();
 }
 
 class _ProxmoxLoginPageState extends State<ProxmoxLoginPage> {
@@ -728,7 +728,7 @@ class ProxmoxProgressOverlay extends StatelessWidget {
 }
 
 class ConnectionErrorDialog extends StatelessWidget {
-  final exception;
+  final Object exception;
 
   const ConnectionErrorDialog({
     Key? key,