fix lints

This commit is contained in:
Fabian Freund
2026-02-16 19:59:32 +01:00
parent cfa7e3ac89
commit 645bbb9b53
78 changed files with 244 additions and 210 deletions
@@ -31,7 +31,7 @@ import 'package:weblibre/presentation/widgets/failure_widget.dart';
/// Bottom sheet widget to select a user profile.
class SelectProfileDialog extends HookConsumerWidget {
const SelectProfileDialog();
const SelectProfileDialog({super.key});
@override
Widget build(BuildContext context, WidgetRef ref) {
@@ -31,7 +31,7 @@ import 'package:weblibre/utils/ui_helper.dart';
class ProfileBackupScreen extends HookConsumerWidget {
final Profile profile;
const ProfileBackupScreen({required this.profile});
const ProfileBackupScreen({super.key, required this.profile});
@override
Widget build(BuildContext context, WidgetRef ref) {
@@ -31,7 +31,7 @@ final _filenamePattern = RegExp(
);
class ProfileBackupListScreen extends HookConsumerWidget {
const ProfileBackupListScreen();
const ProfileBackupListScreen({super.key});
@override
Widget build(BuildContext context, WidgetRef ref) {
@@ -46,7 +46,7 @@ const _timeoutOptions = <DropdownMenuItem<Duration?>>[
class ProfileEditScreen extends HookConsumerWidget {
final Profile? profile;
const ProfileEditScreen({required this.profile});
const ProfileEditScreen({super.key, required this.profile});
Future<void> _handleSave(
BuildContext context,
@@ -28,7 +28,7 @@ import 'package:weblibre/features/user/domain/repositories/profile.dart';
import 'package:weblibre/presentation/widgets/failure_widget.dart';
class ProfileListScreen extends HookConsumerWidget {
const ProfileListScreen();
const ProfileListScreen({super.key});
@override
Widget build(BuildContext context, WidgetRef ref) {
@@ -27,7 +27,7 @@ import 'package:weblibre/features/user/domain/providers/profile_auth.dart';
import 'package:weblibre/presentation/hooks/on_initialization.dart';
class LockScreen extends HookConsumerWidget {
const LockScreen();
const LockScreen({super.key});
@override
Widget build(BuildContext context, WidgetRef ref) {