Skip to content

Commit

Permalink
Version 8.0.1-dev.3.22 for Flutter 3.22
Browse files Browse the repository at this point in the history
  • Loading branch information
rydmike committed Nov 13, 2024
1 parent 59b2a32 commit 6bcaf74
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .fvmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"flutter": "stable",
"flutter": "3.22.2",
"flavors": {}
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"Tert",
"themedata"
],
"dart.flutterSdkPath": ".fvm/versions/stable"
"dart.flutterSdkPath": ".fvm/versions/3.22.2"
}
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

All changes to the **FlexColorScheme** (FCS) package are documented here.

## 8.0.1
## 8.0.1-dev.3.22

**Nov 13, 2024**

### Package

**FIX**

- Fixed the version constraint. The V8 package is **only** compatible with Flutter 3.24.0 and later. It was intended to be compatible with Flutter 3.22.0 and later, but a theming API that is only available in Flutter version 3.24.0 and later made it into the release. If you need a release of version 8 that is also compatible with Flutter 3.22.x, you can use version 8.0.1-dev.3.22 of the package. The package release is identical to this release, but excludes the API not available in Flutter 3.22.0.
- This is a special release of FlexColorScheme version, it is identical to release 8.0.1, but it removes the `locale` API from the `InputDecorationTheme` to keep it compatible with Flutter 3.22.x. If you use Flutter 3.24 or later, you should use the 8.0.0 or later release instead.


### Themes Playground

- Added a quick share button on the side menu. It exports the Playground settings to JSON, makes a URL of it and copies the result to the clip board in one go. Ready to be shared where needed.
- Changes to the Playground make it possible to compile it to a Web WASM-GC build. The Playground WASM build is still experimental and not yet published anywhere.



## 8.0.0
Expand Down
2 changes: 1 addition & 1 deletion example/lib/shared/const/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ sealed class App {
// build numbers.
static const String versionMajor = '8';
static const String versionMinor = '0';
static const String versionPatch = '1';
static const String versionPatch = '1-dev.3.22';
static const String versionBuild = '01';
static const String versionFull = '$versionMajor.$versionMinor.$versionPatch'
'\nBuild-$versionBuild';
Expand Down
46 changes: 23 additions & 23 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ packages:
path: ".."
relative: true
source: path
version: "8.0.1"
version: "8.0.1-dev.3.22"
flex_seed_scheme:
dependency: "direct main"
description:
Expand Down Expand Up @@ -259,18 +259,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
url: "https://pub.dev"
source: hosted
version: "10.0.5"
version: "10.0.4"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
version: "3.0.3"
leak_tracker_testing:
dependency: transitive
description:
Expand All @@ -291,10 +291,10 @@ packages:
dependency: transitive
description:
name: material_color_utilities
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.dev"
source: hosted
version: "0.11.1"
version: "0.8.0"
meta:
dependency: "direct overridden"
description:
Expand Down Expand Up @@ -331,10 +331,10 @@ packages:
dependency: transitive
description:
name: path_provider_android
sha256: c464428172cb986b758c6d1724c603097febb8fb855aa265aeecc9280c294d4a
sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7"
url: "https://pub.dev"
source: hosted
version: "2.2.12"
version: "2.2.10"
path_provider_foundation:
dependency: transitive
description:
Expand Down Expand Up @@ -403,10 +403,10 @@ packages:
dependency: transitive
description:
name: shared_preferences_android
sha256: "3b9febd815c9ca29c9e3520d50ec32f49157711e143b7a4ca039eb87e8ade5ab"
sha256: "480ba4345773f56acda9abf5f50bd966f581dac5d514e5fc4a18c62976bbba7e"
url: "https://pub.dev"
source: hosted
version: "2.3.3"
version: "2.3.2"
shared_preferences_foundation:
dependency: transitive
description:
Expand Down Expand Up @@ -496,18 +496,18 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
url: "https://pub.dev"
source: hosted
version: "0.7.2"
version: "0.7.0"
typed_data:
dependency: transitive
description:
name: typed_data
sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006
sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version: "1.3.2"
url_launcher:
dependency: "direct main"
description:
Expand All @@ -520,10 +520,10 @@ packages:
dependency: transitive
description:
name: url_launcher_android
sha256: "6fc2f56536ee873eeb867ad176ae15f304ccccc357848b351f6f0d8d4a40d193"
sha256: f0c73347dfcfa5b3db8bc06e1502668265d39c08f310c29bff4e28eea9699f79
url: "https://pub.dev"
source: hosted
version: "6.3.14"
version: "6.3.9"
url_launcher_ios:
dependency: transitive
description:
Expand Down Expand Up @@ -608,18 +608,18 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
url: "https://pub.dev"
source: hosted
version: "14.2.5"
version: "14.2.1"
web:
dependency: "direct main"
description:
name: web
sha256: cd3543bd5798f6ad290ea73d210f423502e71900302dde696f8bff84bf89a1cb
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
url: "https://pub.dev"
source: hosted
version: "1.1.0"
version: "0.5.1"
xdg_directories:
dependency: transitive
description:
Expand All @@ -645,5 +645,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.5.0 <4.0.0"
flutter: ">=3.24.0"
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.22.0"
8 changes: 4 additions & 4 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: flex_color_scheme_example
description: Examples that demonstrate how to use the FlexColorScheme package.
version: 8.0.1
version: 8.0.1-dev.3.22
publish_to: 'none'
environment:
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.24.0'
flutter: '>=3.22.0'

dependencies:
# Prebuilt transition animations (by Google, flutter.dev).
Expand Down Expand Up @@ -80,7 +80,7 @@ dependencies:
# Store value pair shared preference data, by Google flutter.dev.
# Used as value-key pair persistence service in example 3.
# https://pub.dev/packages/shared_preferences
shared_preferences: ^2.3.2
shared_preferences: ^2.3.3

# A class for parsing strings using a sequence of patterns.
# By the Dart team, tools.dart.dev
Expand All @@ -94,7 +94,7 @@ dependencies:
# Used for url queary param extraction in Playground
# Replaces dart:html, support WASM. Package by Google dart.dev.
# https://pub.dev/packages/web
web: ^1.1.0
web: ^0.5.1

dependency_overrides:
meta: ^1.14.0
Expand Down
8 changes: 6 additions & 2 deletions lib/src/flex_sub_themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2410,6 +2410,9 @@ sealed class FlexSubThemes {

/// An optional [locale] argument can be used to set the locale for the date
/// picker. It defaults to the ambient locale provided by [Localizations].
///
/// This API has no function in this release of FlexColorScheme, it is
/// only available in the none dev release 8.0.0 and later.
final Locale? locale,
}) {
// This InputDecorationTheme is here to help work around this issue:
Expand Down Expand Up @@ -2556,8 +2559,9 @@ sealed class FlexSubThemes {
//
cancelButtonStyle: cancelButtonStyle,
confirmButtonStyle: confirmButtonStyle,
// This API is supported in Flutter 3.24.0 and later.
locale: locale,
// This API is supported in Flutter 3.24.0 and later, it is commented
// out fer the Flutter 3.22 support in this release.
// locale: locale,
);
}

Expand Down
34 changes: 17 additions & 17 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -199,18 +199,18 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
url: "https://pub.dev"
source: hosted
version: "10.0.5"
version: "10.0.4"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
url: "https://pub.dev"
source: hosted
version: "3.0.5"
version: "3.0.3"
leak_tracker_testing:
dependency: transitive
description:
Expand Down Expand Up @@ -239,18 +239,18 @@ packages:
dependency: transitive
description:
name: material_color_utilities
sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.dev"
source: hosted
version: "0.11.1"
version: "0.8.0"
meta:
dependency: "direct main"
description:
name: meta
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
url: "https://pub.dev"
source: hosted
version: "1.15.0"
version: "1.12.0"
mime:
dependency: transitive
description:
Expand Down Expand Up @@ -460,26 +460,26 @@ packages:
dependency: "direct dev"
description:
name: test
sha256: "7ee44229615f8f642b68120165ae4c2a75fe77ae2065b1e55ae4711f6cf0899e"
sha256: "7ee446762c2c50b3bd4ea96fe13ffac69919352bd3b4b17bac3f3465edc58073"
url: "https://pub.dev"
source: hosted
version: "1.25.7"
version: "1.25.2"
test_api:
dependency: transitive
description:
name: test_api
sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
url: "https://pub.dev"
source: hosted
version: "0.7.2"
version: "0.7.0"
test_core:
dependency: transitive
description:
name: test_core
sha256: "55ea5a652e38a1dfb32943a7973f3681a60f872f8c3a05a14664ad54ef9c6696"
sha256: "2bc4b4ecddd75309300d8096f781c0e3280ca1ef85beda558d33fcbedc2eead4"
url: "https://pub.dev"
source: hosted
version: "0.6.4"
version: "0.6.0"
typed_data:
dependency: transitive
description:
Expand All @@ -500,10 +500,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
url: "https://pub.dev"
source: hosted
version: "14.2.5"
version: "14.2.1"
watcher:
dependency: transitive
description:
Expand Down Expand Up @@ -554,4 +554,4 @@ packages:
version: "3.1.2"
sdks:
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.24.0"
flutter: ">=3.22.0"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flex_color_scheme
description: A Flutter package to use and make beautiful Material design based themes.
version: 8.0.1
version: 8.0.1-dev.3.22
homepage: https://docs.flexcolorscheme.com
repository: https://github.com/rydmike/flex_color_scheme
issue_tracker: https://github.com/rydmike/flex_color_scheme/issues
Expand Down Expand Up @@ -35,7 +35,7 @@ topics:

environment:
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.24.0'
flutter: '>=3.22.0'

dependencies:
# FlexSeedScheme package, by Mike Rydstrom, rydmike.com (@rydmike).
Expand Down

0 comments on commit 6bcaf74

Please sign in to comment.