athrainsky 8 maanden geleden
bovenliggende
commit
ba1083c79c
5 gewijzigde bestanden met toevoegingen van 19 en 19 verwijderingen
  1. 2 2
      lib/lang.dart
  2. 9 9
      lib/list.dart
  3. 5 5
      lib/listblock.dart
  4. 1 1
      lib/login.dart
  5. 2 2
      lib/main.dart

+ 2 - 2
lib/lang.dart

@@ -2,8 +2,8 @@ import 'package:flutter/material.dart';
 
 class Lang extends StatefulWidget {
   const Lang({
-    Key? key,
-  }) : super(key: key);
+    super.key,
+  });
 
   @override
   State<Lang> createState() => _LangState();

+ 9 - 9
lib/list.dart

@@ -6,7 +6,7 @@ import 'package:date_format/date_format.dart';
 var date = formatDate(DateTime.now(), [HH, ':', nn]);
 
 class ListPage extends StatelessWidget {
-  const ListPage({Key? key}) : super(key: key);
+  const ListPage({super.key});
 
   @override
   Widget build(BuildContext context) {
@@ -123,8 +123,8 @@ class ListPage extends StatelessWidget {
 
 class AvailableMenu extends StatelessWidget {
   const AvailableMenu({
-    Key? key,
-  }) : super(key: key);
+    super.key,
+  });
 
   @override
   Widget build(BuildContext context) {
@@ -146,8 +146,8 @@ class AvailableMenu extends StatelessWidget {
 
 class TopMenu extends StatelessWidget {
   const TopMenu({
-    Key? key,
-  }) : super(key: key);
+    super.key,
+  });
 
   @override
   Widget build(BuildContext context) {
@@ -179,8 +179,8 @@ class TopMenu extends StatelessWidget {
 
 class IconAdd extends StatelessWidget {
   const IconAdd({
-    Key? key,
-  }) : super(key: key);
+    super.key,
+  });
 
   @override
   Widget build(BuildContext context) {
@@ -196,8 +196,8 @@ class IconDelete extends StatelessWidget {
   final Map<String, dynamic> items;
   IconDelete({
     required this.items,
-    Key? key,
-  }) : super(key: key);
+    super.key,
+  });
 
   @override
   Widget build(BuildContext context) {

+ 5 - 5
lib/listblock.dart

@@ -6,7 +6,7 @@ import 'package:date_format/date_format.dart';
 var date = formatDate(DateTime.now(), [HH, ':', nn]);
 
 class ListBlockPage extends StatelessWidget {
-  const ListBlockPage({Key? key}) : super(key: key);
+  const ListBlockPage({super.key});
 
   @override
   Widget build(BuildContext context) {
@@ -133,8 +133,8 @@ class ListBlockPage extends StatelessWidget {
 
 class AvailableMenu extends StatelessWidget {
   const AvailableMenu({
-    Key? key,
-  }) : super(key: key);
+    super.key,
+  });
 
   @override
   Widget build(BuildContext context) {
@@ -156,8 +156,8 @@ class AvailableMenu extends StatelessWidget {
 
 class TopMenu extends StatelessWidget {
   const TopMenu({
-    Key? key,
-  }) : super(key: key);
+    super.key,
+  });
 
   @override
   Widget build(BuildContext context) {

+ 1 - 1
lib/login.dart

@@ -3,7 +3,7 @@ import 'package:go_router/go_router.dart';
 import 'package:namer_app/lang.dart';
 
 class LoginPage extends StatelessWidget {
-  const LoginPage({Key? key}) : super(key: key);
+  const LoginPage({super.key});
 
   @override
   Widget build(BuildContext context) {

+ 2 - 2
lib/main.dart

@@ -153,8 +153,8 @@ class MyHomePage extends StatelessWidget {
 
 class Pindai extends StatelessWidget {
   const Pindai({
-    Key? key,
-  }) : super(key: key);
+    super.key,
+  });
 
   @override
   Widget build(BuildContext context) {