import 'package:proxmox_login_manager/proxmox_general_settings_model.dart';
class ProxmoxGeneralSettingsForm extends StatefulWidget {
- const ProxmoxGeneralSettingsForm({Key? key}) : super(key: key);
+ const ProxmoxGeneralSettingsForm({super.key});
@override
State<ProxmoxGeneralSettingsForm> createState() =>
final bool? passwordSaved;
const ProxmoxLoginForm({
- Key? key,
+ super.key,
required this.originController,
required this.usernameController,
required this.passwordController,
this.onSavePasswordChanged,
this.canSavePassword,
this.passwordSaved,
- }) : super(key: key);
+ });
@override
State<ProxmoxLoginForm> createState() => _ProxmoxLoginFormState();
final String? password;
const ProxmoxLoginPage({
- Key? key,
+ super.key,
this.userModel,
this.isCreate,
this.ticket = '',
this.password,
- }) : super(key: key);
+ });
@override
State<ProxmoxLoginPage> createState() => _ProxmoxLoginPageState();
}
class ProxmoxProgressOverlay extends StatelessWidget {
const ProxmoxProgressOverlay({
- Key? key,
+ super.key,
required this.message,
- }) : super(key: key);
+ });
final String message;
final Object exception;
const ConnectionErrorDialog({
- Key? key,
+ super.key,
required this.exception,
- }) : super(key: key);
+ });
@override
Widget build(BuildContext context) {
final proxclient.ProxmoxApiException exception;
const ProxmoxApiErrorDialog({
- Key? key,
+ super.key,
required this.exception,
- }) : super(key: key);
+ });
@override
Widget build(BuildContext context) {
class ProxmoxCertificateErrorDialog extends StatelessWidget {
const ProxmoxCertificateErrorDialog({
- Key? key,
- }) : super(key: key);
+ super.key,
+ });
@override
Widget build(BuildContext context) {
static const ProxmoxProductType pmg = _$pmg;
static const ProxmoxProductType pbs = _$pbs;
- const ProxmoxProductType._(String name) : super(name);
+ const ProxmoxProductType._(super.name);
static BuiltSet<ProxmoxProductType> get values => _$ProxmoxProductTypeValues;
static ProxmoxProductType valueOf(String name) =>
class ProxmoxLoginSelector extends StatefulWidget {
final OnLoginCallback? onLogin;
- const ProxmoxLoginSelector({Key? key, this.onLogin}) : super(key: key);
+ const ProxmoxLoginSelector({super.key, this.onLogin});
@override
State<ProxmoxLoginSelector> createState() => _ProxmoxLoginSelectorState();
class ProxmoxTfaForm extends StatefulWidget {
final ProxmoxApiClient? apiClient;
- const ProxmoxTfaForm({Key? key, this.apiClient}) : super(key: key);
+ const ProxmoxTfaForm({super.key, this.apiClient});
@override
State<ProxmoxTfaForm> createState() => _ProxmoxTfaFormState();