opt.: upgrade linter & fix lint issues

This commit is contained in:
lollipopkit
2023-12-06 11:09:05 +08:00
parent 143cb1e7c1
commit 8a3fd342c6
38 changed files with 92 additions and 94 deletions

View File

@@ -27,10 +27,10 @@ class LocalStoragePage extends StatefulWidget {
final bool isPickFile;
final String? initDir;
const LocalStoragePage({
Key? key,
super.key,
required this.isPickFile,
this.initDir,
}) : super(key: key);
});
@override
State<LocalStoragePage> createState() => _LocalStoragePageState();

View File

@@ -36,11 +36,11 @@ class SftpPage extends StatefulWidget {
final bool isSelect;
const SftpPage({
Key? key,
super.key,
required this.spi,
required this.isSelect,
this.initPath,
}) : super(key: key);
});
@override
_SftpPageState createState() => _SftpPageState();

View File

@@ -16,7 +16,7 @@ import '../../widget/custom_appbar.dart';
import '../../widget/cardx.dart';
class SftpMissionPage extends StatefulWidget {
const SftpMissionPage({Key? key}) : super(key: key);
const SftpMissionPage({super.key});
@override
_SftpMissionPageState createState() => _SftpMissionPageState();