Skip to content

Commit 3c74b6d

Browse files
committed
update package like riverpod 3.0
1 parent 7ec7c70 commit 3c74b6d

33 files changed

+1217
-941
lines changed

lib/common/localization/l10n/app_localizations.dart

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ import 'app_localizations_zh.dart';
6565
/// property.
6666
abstract class AppLocalizations {
6767
AppLocalizations(String locale)
68-
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
68+
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
6969

7070
final String localeName;
7171

@@ -88,18 +88,18 @@ abstract class AppLocalizations {
8888
/// of delegates is preferred or required.
8989
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =
9090
<LocalizationsDelegate<dynamic>>[
91-
delegate,
92-
GlobalMaterialLocalizations.delegate,
93-
GlobalCupertinoLocalizations.delegate,
94-
GlobalWidgetsLocalizations.delegate,
95-
];
91+
delegate,
92+
GlobalMaterialLocalizations.delegate,
93+
GlobalCupertinoLocalizations.delegate,
94+
GlobalWidgetsLocalizations.delegate,
95+
];
9696

9797
/// A list of this localizations delegate's supported locales.
9898
static const List<Locale> supportedLocales = <Locale>[
9999
Locale('en'),
100100
Locale('ja'),
101101
Locale('ko'),
102-
Locale('zh')
102+
Locale('zh'),
103103
];
104104

105105
/// No description provided for @welcomeMessage.
@@ -950,8 +950,9 @@ AppLocalizations lookupAppLocalizations(Locale locale) {
950950
}
951951

952952
throw FlutterError(
953-
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
954-
'an issue with the localizations generation tool. Please file an issue '
955-
'on GitHub with a reproducible sample app and the gen-l10n configuration '
956-
'that was used.');
953+
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
954+
'an issue with the localizations generation tool. Please file an issue '
955+
'on GitHub with a reproducible sample app and the gen-l10n configuration '
956+
'that was used.',
957+
);
957958
}

lib/common/net/transformer.g.dart

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/env/env_config.g.dart

Lines changed: 2 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/branch.g.dart

Lines changed: 44 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/commitFile.g.dart

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/commit_stats.g.dart

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/commits_comparison.g.dart

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/event.g.dart

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/file_model.g.dart

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)