Update code

This commit is contained in:
2024-02-08 16:12:45 +08:00
parent 91144bf8f1
commit f47d3b8810
38 changed files with 554 additions and 211 deletions

View File

@@ -10,7 +10,7 @@ import '../utils/download_zip.dart';
final _log = Logger("DownloadZipPage");
class DownloadZipPage extends StatefulWidget {
const DownloadZipPage(this.gid, {Key? key}) : super(key: key);
const DownloadZipPage(this.gid, {super.key});
final int gid;
@override

View File

@@ -9,8 +9,7 @@ import '../globals.dart';
final _log = Logger("GalleryDetailsPage");
class _KeyValue extends StatelessWidget {
const _KeyValue(this.name, this.value, {Key? key, this.fontSize})
: super(key: key);
const _KeyValue(this.name, this.value, {this.fontSize});
final String name;
final String value;
final double? fontSize;
@@ -39,7 +38,7 @@ class GalleryDetailsPageExtra {
}
class GalleryDetailsPage extends StatefulWidget {
const GalleryDetailsPage(this.gid, {Key? key, this.meta}) : super(key: key);
const GalleryDetailsPage(this.gid, {super.key, this.meta});
final int gid;
final GMeta? meta;