Skip to content

Commit 83abdb3

Browse files
author
github-actions
committed
Prepare version 0.4.1
1 parent e808779 commit 83abdb3

22 files changed

Lines changed: 90 additions & 121 deletions

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [0.4.1]
4+
5+
- Released @ 2/2025 (UTC)
6+
- chore: Update dependencies
7+
38
## [0.4.0]
49

510
- Released @ 2/2025 (UTC)

_tests/A_context_store_tests/main.dart

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,7 @@ class _AppState extends State<App> {
3939

4040
@override
4141
Widget build(BuildContext context) {
42-
const pages = [
43-
Test1(),
44-
Test2(),
45-
Test3(),
46-
Test4(),
47-
Test5(),
48-
Test6(),
49-
];
42+
const pages = [Test1(), Test2(), Test3(), Test4(), Test5(), Test6()];
5043
return MaterialApp(
5144
home: Scaffold(
5245
body: Column(

_tests/A_context_store_tests/pages/test1.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ class Test1 extends StatelessWidget {
4444
height: double.infinity,
4545
child: Column(
4646
mainAxisAlignment: MainAxisAlignment.center,
47-
children: [
48-
const Text('Test4'),
49-
Text(message),
50-
],
47+
children: [const Text('Test4'), Text(message)],
5148
),
5249
);
5350
}

_tests/A_context_store_tests/pages/test2.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class _Test2State extends State<Test2> {
5858
FilledButton(
5959
onPressed: () => setState(() {}),
6060
child: const Text('Call setState'),
61-
)
61+
),
6262
],
6363
),
6464
);

_tests/A_context_store_tests/pages/test3.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class _Test3State extends State<Test3> {
6161
FilledButton(
6262
onPressed: () => setState(() {}),
6363
child: const Text('Call setState'),
64-
)
64+
),
6565
],
6666
),
6767
);

_tests/A_context_store_tests/pages/test4.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class _Test4State extends State<Test4> {
6565
FilledButton(
6666
onPressed: () => setState(() {}),
6767
child: const Text('Call setState'),
68-
)
68+
),
6969
],
7070
),
7171
);

_tests/A_context_store_tests/pages/test6.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class _Test6State extends State<Test6> {
6969
FilledButton(
7070
onPressed: () => setState(() {}),
7171
child: const Text('Call setState'),
72-
)
72+
),
7373
],
7474
),
7575
);

_tests/B_will_dispose_mixin_tests/main.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,7 @@ class _AppState extends State<App> {
3838

3939
@override
4040
Widget build(BuildContext context) {
41-
const pages = [
42-
Test1(),
43-
Test2(),
44-
Test3(),
45-
];
41+
const pages = [Test1(), Test2(), Test3()];
4642
return MaterialApp(
4743
home: Scaffold(
4844
body: Column(

_tests/B_will_dispose_mixin_tests/pages/test1.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ class _Test1State extends State<Test1> with DisposeMixin, WillDisposeMixin {
4646
super.dispose(); // ValueNotifer will be disposed of here.
4747
// Expecting error since we disposed of the ValueNotifier already:
4848
debugPrint(
49-
'[Test1] Expecting error "A ValueNotifier<int> was used after being disposed."...');
49+
'[Test1] Expecting error "A ValueNotifier<int> was used after being disposed."...',
50+
);
5051
try {
5152
countValueNotifier.dispose();
5253
} catch (e) {

_tests/B_will_dispose_mixin_tests/pages/test2.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class _Test2State extends State<Test2> with DisposeMixin, WillDisposeMixin {
6868
FilledButton(
6969
onPressed: () => setState(() {}),
7070
child: const Text('setState'),
71-
)
71+
),
7272
],
7373
),
7474
);

0 commit comments

Comments
 (0)