Skip to content

Commit

Permalink
MacosColorWell docfix (#219) (#220)
Browse files Browse the repository at this point in the history
* docs: fix color well docs

* chore: bump version & changelog
  • Loading branch information
GroovinChip committed May 4, 2022
1 parent ac417f9 commit e756338
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## [1.0.0+1]
* Minor documentation fix for [MacosColorWell]

## [1.0.0]
* First stable release 🎉

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"
version: "1.0.0+1"
matcher:
dependency: transitive
description:
Expand Down
3 changes: 3 additions & 0 deletions lib/src/selectors/color_well.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,17 @@ enum ColorPickerMode {
/// {@endtemplate}
typedef OnColorSelected = void Function(Color color);

/// {@template macosColorWell}
/// A control that displays a color value and lets the user change that color
/// value.
///
/// When a `MacosColorWell` is clicked, it opens the native macOS color panel,
/// which is an `NSColorPanel` from the Swift Cocoa library.
///
/// Use a [MacosColorWell] when you want the user to be able to select a color.
/// {@endtemplate}
class MacosColorWell extends StatefulWidget {
/// {@macro macosColorWell}
const MacosColorWell({
Key? key,
required this.onColorSelected,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: macos_ui
description: Flutter widgets and themes implementing the current macOS design language.
version: 1.0.0
version: 1.0.0+1
homepage: "https://github.com/GroovinChip/macos_ui"

environment:
Expand Down

0 comments on commit e756338

Please sign in to comment.