Skip to content

Commit 80e6816

Browse files
committed
[win_toast] bump flutter_lints, xml version
1 parent d2257d2 commit 80e6816

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/win_toast/example/lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ import 'package:win_toast/win_toast.dart';
99
void main() async {
1010
final dir = await getApplicationDocumentsDirectory();
1111
final logPath = p.join(dir.path, 'log');
12-
await initLogger(logPath);
12+
initLogger(logPath);
1313
i('logPath: $logPath');
1414
runApp(const MyApp());
1515
}
1616

1717
class MyApp extends StatefulWidget {
18-
const MyApp({Key? key}) : super(key: key);
18+
const MyApp({super.key});
1919

2020
@override
2121
State<MyApp> createState() => _MyAppState();
@@ -99,7 +99,7 @@ class _MyAppState extends State<MyApp> {
9999
}
100100

101101
class MainPage extends StatefulWidget {
102-
const MainPage({Key? key}) : super(key: key);
102+
const MainPage({super.key});
103103

104104
@override
105105
State<MainPage> createState() => _MainPageState();

packages/win_toast/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ environment:
1010
dependencies:
1111
flutter:
1212
sdk: flutter
13-
xml: ^6.1.0
13+
xml: ^6.5.0
1414

1515
dev_dependencies:
1616
flutter_test:
1717
sdk: flutter
18-
flutter_lints: ^2.0.1
18+
flutter_lints: ^6.0.0
1919

2020
flutter:
2121
plugin:

0 commit comments

Comments
 (0)