Skip to content

Commit

Permalink
Chore: Bump dependencies to enable usage on channels beta and master.
Browse files Browse the repository at this point in the history
  • Loading branch information
rydmike committed Apr 16, 2023
1 parent a03b840 commit 5bec244
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 26 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ on:
branches: [none]
paths-ignore:
- "**.md"
# release:
# types: [published]

jobs:
tests_build:
name: Analyze, test and build the example and web app
Expand All @@ -55,7 +54,7 @@ jobs:
- name: Analyze Dart source
run: dart analyze

- name: Show outdated packges
- name: Show outdated packages
run: flutter pub outdated

- name: Verify that Dart formatting is used, fail if not
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ on:
- "**.md"
release:
types: [published]
paths-ignore:
- "**.md"

# Edit and add other trigger options if an extra new Web deployment is needed.
# Generally I only need a new deployment when I publish a new release, but I may want to trigger it on defaults:
# prerelease or just an edit sometimes to test the workflow or a new build irl, these trigger types can be used then:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

All notable changes to the **FlexColorPicker** package are documented in this file.

## 3.2.1

**Apr 16, 2023**

- Changed to using `flex_seed_scheme: ^1.2.4` that depends on `material_color_utilities` with version constraint set to `>=0.2.0 <0.4.0` from `^0.2.0`.
- This change enables the package to be used on current Flutter **stable** 3.7 versions, as well as the latest 3.10.x versions on channels **beta** and **master**. It will also work with the next stable Flutter release after 3.7.
- Updated default example to use Material 3.


## 3.2.0

**Apr 2, 2023**
Expand Down
4 changes: 2 additions & 2 deletions example/lib/demo/utils/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ class App {
// Web demo with inside the app. Shown on the start screen in the demo,
// so people testing it don't have to ask. Also info for the About screen.
static const String appName = 'FlexColorPicker';
static const String version = '3.2.0';
static const String version = '3.2.1';
static const String packageVersion = 'FlexColorPicker package $version';
static final Uri packageUri = Uri(
scheme: 'https',
host: 'pub.dev',
path: 'packages/flex_color_picker',
);
static const String flutterVersion = 'Channel stable 3.7.9';
static const String flutterVersion = 'Channel stable 3.7.11';
static const String copyright = '© 2020 - 2023';
static const String author = 'Mike Rydstrom';
static const String license = 'BSD 3-Clause License';
Expand Down
6 changes: 2 additions & 4 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ class _ColorPickerDemoState extends State<ColorPickerDemo> {
debugShowCheckedModeBanner: false,
scrollBehavior: AppScrollBehavior(),
title: 'ColorPicker',
theme: ThemeData.from(colorScheme: const ColorScheme.highContrastLight())
.copyWith(scaffoldBackgroundColor: Colors.grey[50]),
darkTheme:
ThemeData.from(colorScheme: const ColorScheme.highContrastDark()),
theme: ThemeData(useMaterial3: true),
darkTheme: ThemeData(useMaterial3: true, brightness: Brightness.dark),
themeMode: themeMode,
home: ColorPickerPage(
themeMode: (ThemeMode mode) {
Expand Down
14 changes: 7 additions & 7 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ packages:
path: ".."
relative: true
source: path
version: "3.2.0"
version: "3.2.1"
flex_seed_scheme:
dependency: transitive
description:
name: flex_seed_scheme
sha256: "7058288ef97d348657ac95cea25d65a9aac181ca08387ede891fd7230ad7600f"
sha256: b3678d82403c13dec2ee2721e078b26f14577712411b6aa981b0f4269df3fabb
url: "https://pub.dev"
source: hosted
version: "1.2.3"
version: "1.2.4"
flutter:
dependency: "direct main"
description: flutter
Expand All @@ -137,10 +137,10 @@ packages:
dependency: "direct main"
description:
name: flutter_riverpod
sha256: b3c3a8a9714b7f88dd2a41e1efbc47f76d620b06ab427c62ae7bc82298cd7dbb
sha256: "812dfbb87af51e73e68ea038bcfd1c732078d6838d3388d03283db7dec0d1e5f"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.3.4"
flutter_test:
dependency: "direct dev"
description: flutter
Expand Down Expand Up @@ -379,10 +379,10 @@ packages:
dependency: transitive
description:
name: riverpod
sha256: b0fbf7927333c5c318f7e2c22c8b4fd2542ba294de0373e80ecdb34e0dcd8dc4
sha256: "77ab3bcd084bb19fa8717a526217787c725d7f5be938404c7839cd760fdf6ae5"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.3.4"
shelf:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: color_picker_example
description: Two examples of how to use the FlexColorPicker package.
version: 3.2.0
version: 3.2.1
publish_to: 'none'
environment:
sdk: '>=2.19.0 <4.0.0'
Expand All @@ -15,7 +15,7 @@ dependencies:
sdk: flutter

# https://pub.dev/packages/flutter_riverpod
flutter_riverpod: ^2.3.2
flutter_riverpod: ^2.3.4

# https://pub.dev/packages/google_fonts
google_fonts: ^4.0.3
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ packages:
dependency: "direct main"
description:
name: flex_seed_scheme
sha256: "7058288ef97d348657ac95cea25d65a9aac181ca08387ede891fd7230ad7600f"
sha256: b3678d82403c13dec2ee2721e078b26f14577712411b6aa981b0f4269df3fabb
url: "https://pub.dev"
source: hosted
version: "1.2.3"
version: "1.2.4"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -404,10 +404,10 @@ packages:
dependency: transitive
description:
name: web_socket_channel
sha256: ca49c0bc209c687b887f30527fb6a9d80040b072cc2990f34b9bec3e7663101b
sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b
url: "https://pub.dev"
source: hosted
version: "2.3.0"
version: "2.4.0"
webkit_inspection_protocol:
dependency: transitive
description:
Expand Down
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_picker
description: A customizable Flutter primary, accent and custom color picker. Includes an optional HSV wheel color picker.
version: 3.2.0
version: 3.2.1
homepage: https://github.com/rydmike/flex_color_picker
repository: https://github.com/rydmike/flex_color_picker
issue_tracker: https://github.com/rydmike/flex_color_picker/issues
Expand All @@ -24,7 +24,7 @@ environment:
dependencies:
# FlexSeedScheme package, by Mike Rydstrom, rydmike.com (@rydmike).
# https://pub.dev/packages/flex_seed_scheme
flex_seed_scheme: ^1.2.3
flex_seed_scheme: ^1.2.4

flutter:
sdk: flutter
Expand Down

0 comments on commit 5bec244

Please sign in to comment.