File tree 9 files changed +31
-27
lines changed
components/todo_entry_item/view_states
9 files changed +31
-27
lines changed Original file line number Diff line number Diff line change 1
- /Users/msteffen/fvm/versions/3.22.2
1
+ /Users/msteffen/fvm/versions/3.27.3
Original file line number Diff line number Diff line change 1
1
{
2
- "flutterSdkVersion" : " 3.22.2 "
2
+ "flutterSdkVersion" : " 3.27.3 "
3
3
}
Original file line number Diff line number Diff line change 1
1
{
2
- "flutter": "3.22.2 ",
2
+ "flutter": "3.27.3 ",
3
3
"flavors": {}
4
4
}
Original file line number Diff line number Diff line change 1
1
{
2
- "dart.flutterSdkPath" : " .fvm/versions/3.22.2 "
2
+ "dart.flutterSdkPath" : " .fvm/versions/3.27.3 "
3
3
}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ class ToDoEntryItemLoading extends StatelessWidget {
8
8
Widget build (BuildContext context) {
9
9
return ListTile (
10
10
title: Shimmer (
11
- color: Theme .of (context).colorScheme.onBackground ,
11
+ color: Theme .of (context).colorScheme.onSurface ,
12
12
child: const Text ('Loading' ),
13
13
),
14
14
);
Original file line number Diff line number Diff line change @@ -82,8 +82,12 @@ class _CreateToDoCollectionPageState extends State<CreateToDoCollectionPage> {
82
82
final isValide = _formKey.currentState? .validate ();
83
83
if (isValide == true ) {
84
84
context.read <CreateToDoCollectionPageCubit >().submit ().then (
85
- (_) => context.pop (true ),
86
- );
85
+ (_) {
86
+ if (context.mounted) {
87
+ context.pop (true );
88
+ }
89
+ },
90
+ );
87
91
}
88
92
},
89
93
child: Text ('colelction_save' .tr ()),
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ class _HomePageState extends State<HomePage> {
81
81
selectedIndex: widget.index,
82
82
destinations: destinations
83
83
.map (
84
- (_ ) => AdaptiveScaffold .toRailDestination (_ ),
84
+ (destination ) => AdaptiveScaffold .toRailDestination (destination ),
85
85
)
86
86
.toList (),
87
87
),
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class ToDoOverviewLoaded extends StatelessWidget {
63
63
tooltip: 'overview_add_collection' .tr (),
64
64
onPressed: () {
65
65
context.pushNamed (CreateToDoCollectionPage .pageConfig.name).then ((value) {
66
- if (value == true ) {
66
+ if (value == true && context.mounted ) {
67
67
context.read <ToDoOverviewCubit >().readToDoCollections ();
68
68
}
69
69
});
Original file line number Diff line number Diff line change @@ -7,39 +7,39 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7
7
version : 1.0.0+1
8
8
9
9
environment :
10
- sdk : ' >=3.4 .0 <4.0.0'
10
+ sdk : ' >=3.6 .0 <4.0.0'
11
11
12
12
dependencies :
13
13
flutter :
14
14
sdk : flutter
15
15
flutter_localizations :
16
16
sdk : flutter
17
17
cupertino_icons : ^1.0.8
18
- go_router : ^14.2 .1
19
- flutter_adaptive_scaffold : ^0.1.11+1
20
- uuid : ^4.4.2
18
+ go_router : ^14.7 .1
19
+ flutter_adaptive_scaffold : ^0.1.12
20
+ uuid : ^4.5.1
21
21
either_dart : ^1.0.0
22
- equatable : ^2.0.5
23
- flutter_bloc : ^8.1.6
24
- shimmer_animation : ^2.2.1
22
+ equatable : ^2.0.7
23
+ flutter_bloc : ^9.0.0
24
+ shimmer_animation : ^2.2.2
25
25
json_annotation : ^4.9.0
26
26
hive : ^2.2.3
27
- firebase_core : ^3.2.0
28
- firebase_auth : ^5.1.2
29
- firebase_ui_auth : ^1.15.0
30
- cloud_firestore : ^5.1.0
31
- meta : ^1.12 .0
32
- firebase_crashlytics : ^4.0.3
33
- path_provider : ^2.1.3
27
+ firebase_core : ^3.10.1
28
+ firebase_auth : ^5.4.1
29
+ firebase_ui_auth : ^1.16.1
30
+ cloud_firestore : ^5.6.2
31
+ meta : ^1.15 .0
32
+ firebase_crashlytics : ^4.3.1
33
+ path_provider : ^2.1.5
34
34
easy_localization : ^3.0.7
35
- alchemist : ^0.7 .0
35
+ alchemist : ^0.11 .0
36
36
37
37
dev_dependencies :
38
- build_runner : ^2.4.11
38
+ build_runner : ^2.4.14
39
39
flutter_test :
40
40
sdk : flutter
41
- flutter_lints : ^4 .0.0
42
- json_serializable : ^6.8.0
41
+ flutter_lints : ^5 .0.0
42
+ json_serializable : ^6.9.3
43
43
44
44
flutter :
45
45
uses-material-design : true
You can’t perform that action at this time.
0 commit comments