Skip to content

Commit

Permalink
Version 1.0.1 (macosui#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
GroovinChip authored May 5, 2022
1 parent 58add80 commit 6f055ff
Show file tree
Hide file tree
Showing 8 changed files with 152 additions and 154 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## [1.0.1]
* Improvements to the graphical `MacosTimePicker`
* Better color gradient on the border
* Better inner shadow
* Minor size adjustments
* API improvements
* Throw an exception if `MacosColorWell` is clicked on a non-macOS platform

## [1.0.0+1]
* Minor documentation fix for [MacosColorWell]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ There are three styles of `MacosDatePickers`:

## MacosTimePicker

<img src="https://imgur.com/UKMDnSF.png" width="50%"/>
<img src="https://imgur.com/RtPbRo2.png" width="50%"/>

Lets the user choose a time.

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.0.0+1"
version: "1.0.1"
matcher:
dependency: transitive
description:
Expand Down
6 changes: 5 additions & 1 deletion lib/src/selectors/color_well.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,12 @@ class _MacosColorWellState extends State<MacosColorWell> {
await _methodChannel.invokeMethod('color_panel', {
'mode': '${widget.defaultMode}',
});
} on MissingPluginException {
throw MissingPluginException(
'Cannot open NSColorPanel on platforms other than macOS.',
);
} catch (e) {
debugPrint('$e');
debugPrint('Failed to open color panel: $e');
}
},
child: SizedBox(
Expand Down
Loading

0 comments on commit 6f055ff

Please sign in to comment.