Skip to content

Commit 9127fda

Browse files
committed
update example
1 parent 7482dc1 commit 9127fda

File tree

5 files changed

+8
-15
lines changed

5 files changed

+8
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## [1.0.1]
4+
5+
- Fix late value not initialized in MaterialPicker.
6+
37
## [1.0.0]
48

59
- Update shading label text style in MaterialPicker.

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ showDialog(
3131
child: ColorPicker(
3232
pickerColor: pickerColor,
3333
onColorChanged: changeColor,
34-
showLabel: true,
3534
pickerAreaHeightPercent: 0.8,
3635
),
3736
// Use Material color picker:
@@ -71,13 +70,5 @@ showDialog(
7170
![SlidePicker](https://user-images.githubusercontent.com/7392658/74600957-5efa3980-50d3-11ea-9458-55842927e565.png)
7271

7372
<!-- markdownlint-disable MD033 -->
74-
<img src="https://user-images.githubusercontent.com/7392658/46619114-de790f80-cb53-11e8-81c8-278d4dc51606.png" width="23%">
75-
<img src="https://user-images.githubusercontent.com/7392658/57980467-c577fb80-7a5e-11e9-85ee-033963b48162.png" width="23%">
76-
<img src="https://user-images.githubusercontent.com/7392658/46619111-dd47e280-cb53-11e8-9701-38900857321f.png" width="23%">
77-
<img src="https://user-images.githubusercontent.com/7392658/50912123-56fdae00-146c-11e9-8d63-be3a26a20b72.png" width="23%">
78-
<img src="https://user-images.githubusercontent.com/7392658/46619116-df11a600-cb53-11e8-8b6b-4e495f8dbea9.png" width="23%">
79-
<img src="https://user-images.githubusercontent.com/7392658/57980469-c6109200-7a5e-11e9-8c32-5f4ba74c88da.png" width="23%">
80-
<img src="https://user-images.githubusercontent.com/7392658/46619112-dde07900-cb53-11e8-91d9-a4d1ee70cf3b.png" width="23%">
81-
<img src="https://user-images.githubusercontent.com/7392658/57980462-b8f3a300-7a5e-11e9-95e4-1748b14793ae.png" width="23%">
82-
73+
<img src="https://user-images.githubusercontent.com/7392658/141605429-1fdb7cc3-411b-4f02-8787-a7072bf134c0.png">
8374
Details in [example/](https://github.com/mchome/flutter_colorpicker/tree/master/example) folder.

example/lib/pickers/hsv_picker.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,7 @@ HueRingPicker(
330330
return AlertDialog(
331331
titlePadding: const EdgeInsets.all(0),
332332
contentPadding: const EdgeInsets.all(0),
333-
shape: _showIndicator
334-
? const RoundedRectangleBorder(borderRadius: BorderRadius.vertical(top: Radius.circular(25)))
335-
: null,
333+
shape: const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(25))),
336334
content: SingleChildScrollView(
337335
child: SlidePicker(
338336
pickerColor: widget.pickerColor,

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ packages:
2626
path: ".."
2727
relative: true
2828
source: path
29-
version: "1.0.0"
29+
version: "1.0.1"
3030
flutter_lints:
3131
dependency: "direct dev"
3232
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_colorpicker
22
description: HSV(HSB)/HSL/RGB/Material color picker inspired by all the good design for your amazing flutter apps.
3-
version: 1.0.0
3+
version: 1.0.1
44
homepage: https://github.com/mchome/flutter_colorpicker
55

66
environment:

0 commit comments

Comments
 (0)