Skip to content

Commit

Permalink
feat: update to v0.6.0 - CU-86bzh3bch
Browse files Browse the repository at this point in the history
  • Loading branch information
basemosama committed Jul 8, 2024
1 parent fb36f2d commit bcfc9d3
Show file tree
Hide file tree
Showing 10 changed files with 325 additions and 114 deletions.
14 changes: 7 additions & 7 deletions .flutter-plugins
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# This is a generated file; do not edit or check into version control.
flutter_secure_storage=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage-9.0.0\\
flutter_secure_storage_linux=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage_linux-1.1.3\\
flutter_secure_storage_macos=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage_macos-3.0.0\\
flutter_secure_storage_web=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage_web-1.1.1\\
flutter_secure_storage_windows=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage_windows-3.0.0\\
flutter_secure_storage=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage-9.2.2\\
flutter_secure_storage_linux=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage_linux-1.2.1\\
flutter_secure_storage_macos=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage_macos-3.1.2\\
flutter_secure_storage_web=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage_web-1.2.1\\
flutter_secure_storage_windows=E:\\flutter\\cache\\hosted\\pub.dev\\flutter_secure_storage_windows-3.1.2\\
path_provider=E:\\flutter\\cache\\hosted\\pub.dev\\path_provider-2.0.15\\
path_provider_android=E:\\flutter\\cache\\hosted\\pub.dev\\path_provider_android-2.0.27\\
path_provider_foundation=E:\\flutter\\cache\\hosted\\pub.dev\\path_provider_foundation-2.2.4\\
path_provider_linux=E:\\flutter\\cache\\hosted\\pub.dev\\path_provider_linux-2.1.10\\
path_provider_windows=E:\\flutter\\cache\\hosted\\pub.dev\\path_provider_windows-2.1.7\\
shared_preferences=E:\\flutter\\cache\\hosted\\pub.dev\\shared_preferences-2.2.2\\
shared_preferences=E:\\flutter\\cache\\hosted\\pub.dev\\shared_preferences-2.2.3\\
shared_preferences_android=E:\\flutter\\cache\\hosted\\pub.dev\\shared_preferences_android-2.1.4\\
shared_preferences_foundation=E:\\flutter\\cache\\hosted\\pub.dev\\shared_preferences_foundation-2.2.2\\
shared_preferences_foundation=E:\\flutter\\cache\\hosted\\pub.dev\\shared_preferences_foundation-2.4.0\\
shared_preferences_linux=E:\\flutter\\cache\\hosted\\pub.dev\\shared_preferences_linux-2.2.0\\
shared_preferences_web=E:\\flutter\\cache\\hosted\\pub.dev\\shared_preferences_web-2.1.0\\
shared_preferences_windows=E:\\flutter\\cache\\hosted\\pub.dev\\shared_preferences_windows-2.2.0\\
2 changes: 1 addition & 1 deletion .flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_secure_storage","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage-9.0.0\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.2.4\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.2.2\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"flutter_secure_storage","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage-9.0.0\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_android-2.0.27\\\\","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_android-2.1.4\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"flutter_secure_storage_macos","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage_macos-3.0.0\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.2.4\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.2.2\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"flutter_secure_storage_linux","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage_linux-1.1.3\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_linux","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.1.10\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_linux-2.2.0\\\\","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"flutter_secure_storage_windows","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage_windows-3.0.0\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_windows","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.1.7\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_windows-2.2.0\\\\","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"flutter_secure_storage_web","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage_web-1.1.1\\\\","dependencies":[]},{"name":"shared_preferences_web","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_web-2.1.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_secure_storage","dependencies":["flutter_secure_storage_linux","flutter_secure_storage_macos","flutter_secure_storage_web","flutter_secure_storage_windows"]},{"name":"flutter_secure_storage_linux","dependencies":[]},{"name":"flutter_secure_storage_macos","dependencies":[]},{"name":"flutter_secure_storage_web","dependencies":[]},{"name":"flutter_secure_storage_windows","dependencies":["path_provider"]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2024-05-15 16:12:28.433677","version":"3.22.0"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_secure_storage","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage-9.2.2\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.2.4\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"flutter_secure_storage","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage-9.2.2\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_android-2.0.27\\\\","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_android-2.1.4\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"flutter_secure_storage_macos","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage_macos-3.1.2\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.2.4\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"flutter_secure_storage_linux","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage_linux-1.2.1\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_linux","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.1.10\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_linux-2.2.0\\\\","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"flutter_secure_storage_windows","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage_windows-3.1.2\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_windows","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.1.7\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_windows-2.2.0\\\\","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"flutter_secure_storage_web","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\flutter_secure_storage_web-1.2.1\\\\","dependencies":[]},{"name":"shared_preferences_web","path":"E:\\\\flutter\\\\cache\\\\hosted\\\\pub.dev\\\\shared_preferences_web-2.1.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_secure_storage","dependencies":["flutter_secure_storage_linux","flutter_secure_storage_macos","flutter_secure_storage_web","flutter_secure_storage_windows"]},{"name":"flutter_secure_storage_linux","dependencies":[]},{"name":"flutter_secure_storage_macos","dependencies":[]},{"name":"flutter_secure_storage_web","dependencies":[]},{"name":"flutter_secure_storage_windows","dependencies":["path_provider"]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2024-07-08 23:24:35.058762","version":"3.22.0"}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Changelog

## 0.6.0
- Update `flex_seed_scheme` package to v3.0.0
- Update min flutter version to `3.22.0`
- Added new colors [`primaryFixed`, `primaryFixedDim`, `onPrimaryFixed`,`onPrimaryFixedVariant`,
`secondaryFixed`, `secondaryFixedDim`, `onSecondaryFixed`, `onSecondaryFixedVariant`,
`tertiaryFixed`, `tertiaryFixedDim`, `onTertiaryFixed`, `onTertiaryFixedVariant`,
`surfaceDim`, `surfaceBright`, `surfaceContainerLowest`, `surfaceContainerLow`, `surfaceContainer`,
`surfaceContainerHigh`, `surfaceContainerHighest`] based on latest material changes in flutter v3.22.0.
- Deprecated `background`, `onBackground`, `surfaceVariant`colors as `surface`, `onSurface`, `surfaceContainerHighest` should be used instead based on latest material changes in flutter v3.22.0.


## 0.5.0
> **Note**: This release contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ android {
}

defaultConfig {
minSdkVersion 19
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
6 changes: 4 additions & 2 deletions example/lib/colors/dark_colors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ import 'package:playx_theme/playx_theme.dart';
class DarkColorScheme extends BaseColors {
DarkColorScheme()
: super(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.blue, brightness: Brightness.dark));
colorScheme: SeedColorScheme.fromSeeds(
primaryKey: Colors.blue,
brightness: Brightness.dark,
));

@override
Color get containerBackgroundColor => PlayxColors.darkGrey;
Expand Down
9 changes: 7 additions & 2 deletions example/lib/colors/light_colors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ import 'package:playx_theme/playx_theme.dart';
class LightColorScheme extends BaseColors {
LightColorScheme()
: super(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.blue, brightness: Brightness.light));
colorScheme: SeedColorScheme.fromSeeds(
primaryKey: Colors.blue,
secondaryKey: Colors.blue,
brightness: Brightness.light,
));
// colorScheme: ColorScheme.fromSeed(
// seedColor: Colors.blue, brightness: Brightness.light));

@override
Color get containerBackgroundColor => PlayxColors.white;
Expand Down
Loading

0 comments on commit bcfc9d3

Please sign in to comment.