Skip to content

Commit

Permalink
chore: upgrade to Flutter 3.27 (#462)
Browse files Browse the repository at this point in the history
* adds new required `weekdayFormat` to `CupertinoLocalizations`
* removes obsolete `default` case in exhaustive `switch` statement
  • Loading branch information
d-loose authored Dec 18, 2024
1 parent 8519bb7 commit 08d92e5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .fvmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"flutter": "3.24.3"
"flutter": "3.27.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ abstract class FlutterLocalizationsDelegate<T>
singleDigitSecondFormat: DateFormat.s(localeName),
decimalFormat:
NumberFormat.decimalPattern(baseLocaleName ?? 'en_US'),
weekdayFormat: DateFormat.EEEE(localeName),
) as T,
);
default:
Expand Down
2 changes: 0 additions & 2 deletions packages/ubuntu_widgets/lib/src/password_strength_label.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ class PasswordStrengthLabel extends StatelessWidget {
lang.strongPassword,
style: TextStyle(color: Theme.of(context).colorScheme.success),
);
default:
return const SizedBox.shrink();
}
}
}
22 changes: 19 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.4.1"
clock:
dependency: transitive
description:
name: clock
sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
url: "https://pub.dev"
source: hosted
version: "1.1.2"
collection:
dependency: transitive
description:
Expand Down Expand Up @@ -113,6 +121,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "4.0.2"
intl:
dependency: transitive
description:
name: intl
sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
url: "https://pub.dev"
source: hosted
version: "0.19.0"
io:
dependency: transitive
description:
Expand Down Expand Up @@ -141,10 +157,10 @@ packages:
dependency: "direct dev"
description:
name: melos
sha256: f9a6fc4f4842b7edfca2e00ab3b5b06928584f24bdc3d776ab0b30be7d599450
sha256: a62abfa8c7826cec927f8585572bb9adf591be152150494d879ca2c75118809d
url: "https://pub.dev"
source: hosted
version: "6.0.0"
version: "6.2.0"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -322,4 +338,4 @@ packages:
source: hosted
version: "2.1.1"
sdks:
dart: ">=3.2.0 <4.0.0"
dart: ">=3.4.0 <4.0.0"

0 comments on commit 08d92e5

Please sign in to comment.