Skip to content

Commit 9f53653

Browse files
committed
Update project version to 1.2.9+12 and upgrade dependencies
Bumped project version from 1.2.8+11 to 1.2.9+12. Updated Dart SDK to `>=3.8.0` and Flutter SDK to `>=3.32.0`. Upgraded various dependencies in pubspec.yaml and pubspec.lock for compatibility and minor fixes.
1 parent eb4d03e commit 9f53653

File tree

60 files changed

+838
-883
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+838
-883
lines changed

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-all.zip

ios/Podfile.lock

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ PODS:
1111
- Firebase/Messaging (11.10.0):
1212
- Firebase/CoreOnly
1313
- FirebaseMessaging (~> 11.10.0)
14-
- firebase_analytics (11.4.5):
14+
- firebase_analytics (11.4.6):
1515
- Firebase/Analytics (= 11.10.0)
1616
- firebase_core
1717
- Flutter
18-
- firebase_core (3.13.0):
18+
- firebase_core (3.13.1):
1919
- Firebase/CoreOnly (= 11.10.0)
2020
- Flutter
21-
- firebase_messaging (15.2.5):
21+
- firebase_messaging (15.2.6):
2222
- Firebase/Messaging (= 11.10.0)
2323
- firebase_core
2424
- Flutter
@@ -88,31 +88,31 @@ PODS:
8888
- GoogleDataTransport (10.1.0):
8989
- nanopb (~> 3.30910.0)
9090
- PromisesObjC (~> 2.4)
91-
- GoogleUtilities/AppDelegateSwizzler (8.0.2):
91+
- GoogleUtilities/AppDelegateSwizzler (8.1.0):
9292
- GoogleUtilities/Environment
9393
- GoogleUtilities/Logger
9494
- GoogleUtilities/Network
9595
- GoogleUtilities/Privacy
96-
- GoogleUtilities/Environment (8.0.2):
96+
- GoogleUtilities/Environment (8.1.0):
9797
- GoogleUtilities/Privacy
98-
- GoogleUtilities/Logger (8.0.2):
98+
- GoogleUtilities/Logger (8.1.0):
9999
- GoogleUtilities/Environment
100100
- GoogleUtilities/Privacy
101-
- GoogleUtilities/MethodSwizzler (8.0.2):
101+
- GoogleUtilities/MethodSwizzler (8.1.0):
102102
- GoogleUtilities/Logger
103103
- GoogleUtilities/Privacy
104-
- GoogleUtilities/Network (8.0.2):
104+
- GoogleUtilities/Network (8.1.0):
105105
- GoogleUtilities/Logger
106106
- "GoogleUtilities/NSData+zlib"
107107
- GoogleUtilities/Privacy
108108
- GoogleUtilities/Reachability
109-
- "GoogleUtilities/NSData+zlib (8.0.2)":
109+
- "GoogleUtilities/NSData+zlib (8.1.0)":
110110
- GoogleUtilities/Privacy
111-
- GoogleUtilities/Privacy (8.0.2)
112-
- GoogleUtilities/Reachability (8.0.2):
111+
- GoogleUtilities/Privacy (8.1.0)
112+
- GoogleUtilities/Reachability (8.1.0):
113113
- GoogleUtilities/Logger
114114
- GoogleUtilities/Privacy
115-
- GoogleUtilities/UserDefaults (8.0.2):
115+
- GoogleUtilities/UserDefaults (8.1.0):
116116
- GoogleUtilities/Logger
117117
- GoogleUtilities/Privacy
118118
- image_picker_ios (0.0.1):
@@ -217,9 +217,9 @@ EXTERNAL SOURCES:
217217
SPEC CHECKSUMS:
218218
device_info_plus: 21fcca2080fbcd348be798aa36c3e5ed849eefbe
219219
Firebase: 1fe1c0a7d9aaea32efe01fbea5f0ebd8d70e53a2
220-
firebase_analytics: 1998960b8fa16fd0cd9e77a6f9fd35a2009ad65e
221-
firebase_core: 2d4534e7b489907dcede540c835b48981d890943
222-
firebase_messaging: 75bc93a4df25faccad67f6662ae872ac9ae69b64
220+
firebase_analytics: 23a2678c8f20c46ef305c2f05a9ead0e681163cf
221+
firebase_core: ba71b44041571da878cb624ce0d80250bcbe58ad
222+
firebase_messaging: 13129fe2ca166d1ed2d095062d76cee88943d067
223223
FirebaseAnalytics: 4e42333f02cf78ed93703a5c36f36dd518aebdef
224224
FirebaseCore: 8344daef5e2661eb004b177488d6f9f0f24251b7
225225
FirebaseCoreInternal: ef4505d2afb1d0ebbc33162cb3795382904b5679
@@ -230,7 +230,7 @@ SPEC CHECKSUMS:
230230
flutter_native_splash: c32d145d68aeda5502d5f543ee38c192065986cf
231231
GoogleAppMeasurement: 36684bfb3ee034e2b42b4321eb19da3a1b81e65d
232232
GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
233-
GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d
233+
GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1
234234
image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a
235235
in_app_review: 5596fe56fab799e8edb3561c03d053363ab13457
236236
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
@@ -54,6 +55,7 @@
5455
buildConfiguration = "Debug"
5556
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
5657
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
58+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
5759
launchStyle = "0"
5860
useCustomWorkingDirectory = "NO"
5961
ignoresPersistentStateOnLaunch = "NO"

lib/components/action_validation_view.dart

Lines changed: 19 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,18 @@ class _ActionValidationViewState extends State<ActionValidationView> {
6767
decoration: InputDecoration(
6868
border: const OutlineInputBorder(),
6969
labelText: AppLocalizations.of(context)!.code,
70-
errorText:
71-
_isCodeInError
72-
? AppLocalizations.of(context)!.invalidCode
73-
: null,
70+
errorText: _isCodeInError
71+
? AppLocalizations.of(context)!.invalidCode
72+
: null,
7473
),
7574
controller: _codeController,
7675
onChanged: (final String value) {
7776
// Make it uppercase, keep only letters and numbers
7877
setState(() {
7978
_codeController
80-
..text =
81-
value
82-
.replaceAll(RegExp('[^A-Za-z0-9]'), '')
83-
.toUpperCase()
79+
..text = value
80+
.replaceAll(RegExp('[^A-Za-z0-9]'), '')
81+
.toUpperCase()
8482
..selection = TextSelection.fromPosition(
8583
TextPosition(offset: _codeController.text.length),
8684
);
@@ -99,10 +97,9 @@ class _ActionValidationViewState extends State<ActionValidationView> {
9997
textAlign: TextAlign.left,
10098
),
10199
ElevatedAsyncButton(
102-
onPressed:
103-
_actionUuid == null
104-
? null
105-
: () async => validateActionInternal(context),
100+
onPressed: _actionUuid == null
101+
? null
102+
: () async => validateActionInternal(context),
106103
child: Text(AppLocalizations.of(context)!.save),
107104
),
108105
],
@@ -200,18 +197,17 @@ class _ActionValidationViewState extends State<ActionValidationView> {
200197

201198
await showDialog(
202199
context: context,
203-
builder:
204-
(final BuildContext context) => AlertDialog(
205-
content: Text(widget.successMessage),
206-
actions: <Widget>[
207-
TextButton(
208-
onPressed: () {
209-
Navigator.of(context).pop();
210-
},
211-
child: Text(AppLocalizations.of(context)!.ok),
212-
),
213-
],
200+
builder: (final BuildContext context) => AlertDialog(
201+
content: Text(widget.successMessage),
202+
actions: <Widget>[
203+
TextButton(
204+
onPressed: () {
205+
Navigator.of(context).pop();
206+
},
207+
child: Text(AppLocalizations.of(context)!.ok),
214208
),
209+
],
210+
),
215211
);
216212
}
217213
} on Exception catch (e) {

lib/components/advanced_calendar.dart

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@ class AdvancedCalendar extends StatelessWidget {
1616
final AnimeWeeklyController controller = AnimeWeeklyController.instance;
1717
final ThemeData theme = Theme.of(context);
1818

19-
ButtonStyle? getActiveButtonStyle(final bool isActive) =>
20-
isActive
21-
? theme.elevatedButtonTheme.style?.copyWith(
22-
backgroundColor: WidgetStateProperty.all(
23-
theme.colorScheme.primary,
24-
),
25-
)
26-
: null;
19+
ButtonStyle? getActiveButtonStyle(final bool isActive) => isActive
20+
? theme.elevatedButtonTheme.style?.copyWith(
21+
backgroundColor: WidgetStateProperty.all(theme.colorScheme.primary),
22+
)
23+
: null;
2724

2825
Color? getTextColor(final bool isActive) =>
2926
isActive ? theme.oppositeTextColor : theme.textTheme.bodyLarge?.color;
@@ -66,8 +63,9 @@ class AdvancedCalendar extends StatelessWidget {
6663
ElevatedAsyncButton(
6764
style: getActiveButtonStyle(controller.searchType == type),
6865
onPressed: () async {
69-
controller.searchType =
70-
controller.searchType == type ? null : type;
66+
controller.searchType = controller.searchType == type
67+
? null
68+
: type;
7169
await controller.init();
7270
},
7371
child: LangTypeComponent(

lib/components/advanced_search_card.dart

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -74,25 +74,24 @@ class AdvancedSearchCard extends StatelessWidget {
7474
void _showAdvancedSearchDialog(final BuildContext context) {
7575
showDialog(
7676
context: context,
77-
builder:
78-
(final BuildContext dialogContext) => AlertDialog(
79-
title: Text(AppLocalizations.of(context)!.advancedSearch),
80-
content: Wrap(
81-
alignment: WrapAlignment.center,
82-
spacing: 8,
83-
runSpacing: 8,
84-
children: <Widget>[
85-
for (final String letter in _letters)
86-
ActionChip(
87-
label: Text(letter),
88-
onPressed: () {
89-
AnimeSearchController.instance.search(letter);
90-
controller.text = letter;
91-
},
92-
),
93-
],
94-
),
95-
),
77+
builder: (final BuildContext dialogContext) => AlertDialog(
78+
title: Text(AppLocalizations.of(context)!.advancedSearch),
79+
content: Wrap(
80+
alignment: WrapAlignment.center,
81+
spacing: 8,
82+
runSpacing: 8,
83+
children: <Widget>[
84+
for (final String letter in _letters)
85+
ActionChip(
86+
label: Text(letter),
87+
onPressed: () {
88+
AnimeSearchController.instance.search(letter);
89+
controller.text = letter;
90+
},
91+
),
92+
],
93+
),
94+
),
9695
);
9796
}
9897

@@ -130,10 +129,9 @@ class AdvancedSearchCard extends StatelessWidget {
130129
final BuildContext context,
131130
final SearchType type,
132131
final AnimeSearchController searchController,
133-
) =>
134-
searchController.searchType == type
135-
? Theme.of(context).oppositeTextColor
136-
: Theme.of(context).textTheme.bodyLarge?.color;
132+
) => searchController.searchType == type
133+
? Theme.of(context).oppositeTextColor
134+
: Theme.of(context).textTheme.bodyLarge?.color;
137135

138136
void _handleSearchTypePressed(
139137
final SearchType type,

lib/components/animes/anime_component.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ class AnimeComponent extends StatelessWidget {
2929

3030
Navigator.of(context).push(
3131
MaterialPageRoute<void>(
32-
builder:
33-
(final BuildContext context) => AnimeDetailsView(anime: anime),
32+
builder: (final BuildContext context) =>
33+
AnimeDetailsView(anime: anime),
3434
),
3535
);
3636
},

lib/components/animes/calendar/calendar_anime_component.dart

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ class CalendarAnimeComponent extends StatelessWidget {
2626
final BuildContext context,
2727
final String releaseDateTime,
2828
) {
29-
final DateTime parsed =
30-
DateFormat(
31-
'yyyy-MM-ddTHH:mm:ssZ',
32-
).parse(releaseDateTime, true).toLocal();
29+
final DateTime parsed = DateFormat(
30+
'yyyy-MM-ddTHH:mm:ssZ',
31+
).parse(releaseDateTime, true).toLocal();
3332

3433
return DateFormat(
3534
AppLocalizations.of(context)!.calendarTimeFormat,
@@ -48,9 +47,8 @@ class CalendarAnimeComponent extends StatelessWidget {
4847

4948
Navigator.of(context).push(
5049
MaterialPageRoute<void>(
51-
builder:
52-
(final BuildContext context) =>
53-
AnimeDetailsView(anime: release.anime),
50+
builder: (final BuildContext context) =>
51+
AnimeDetailsView(anime: release.anime),
5452
),
5553
);
5654
},
@@ -63,10 +61,9 @@ class CalendarAnimeComponent extends StatelessWidget {
6361
Stack(
6462
children: <Widget>[
6563
ImageComponent(
66-
uuid:
67-
isReleased
68-
? release.mappings!.first.uuid
69-
: release.anime.uuid,
64+
uuid: isReleased
65+
? release.mappings!.first.uuid
66+
: release.anime.uuid,
7067
type: ImageType.banner,
7168
borderRadius: const BorderRadius.all(
7269
Radius.circular(Constant.borderRadius),

lib/components/animes/followed_anime_component.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ class FollowedAnimeComponent extends StatelessWidget {
2525

2626
Navigator.of(context).push(
2727
MaterialPageRoute<void>(
28-
builder:
29-
(final BuildContext context) =>
30-
AnimeDetailsView(anime: anime),
28+
builder: (final BuildContext context) =>
29+
AnimeDetailsView(anime: anime),
3130
),
3231
);
3332
},

lib/components/animes/followed_animes_row.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,9 @@ class FollowedAnimesRow extends StatelessWidget {
6363
addAutomaticKeepAlives: false,
6464
addRepaintBoundaries: false,
6565
itemCount: snapshot.data!.length,
66-
controller:
67-
FollowedAnimeController
68-
.instance
69-
.scrollController,
66+
controller: FollowedAnimeController
67+
.instance
68+
.scrollController,
7069
itemBuilder:
7170
(final BuildContext context, final int index) =>
7271
FollowedAnimeComponent(

0 commit comments

Comments
 (0)