From 4c61bd23476abae5f71d04a07c47c5269faa80d4 Mon Sep 17 00:00:00 2001 From: nohli <43643339+nohli@users.noreply.github.com> Date: Sun, 4 Jul 2021 16:12:45 +0200 Subject: [PATCH] Update README.md --- README.md | 40 +++++----------------------------------- 1 file changed, 5 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 2df8cb3..a73f0e4 100644 --- a/README.md +++ b/README.md @@ -2,64 +2,34 @@ A HSV color picker for your flutter app. RGB HSV Wheel Hue Saturation Values. + ![](https://github.com/fluttercandies/flutter_hsvcolor_picker/blob/master/screenshot/phone.png) ## Getting Started ![](https://github.com/fluttercandies/flutter_hsvcolor_picker/blob/master/screenshot/logo.png) -pub: -https://pub.dartlang.org/packages/flutter_hsvcolor_picker - ### Installation -Add this to your pubspec.yaml: - -```yaml -dependencies: - flutter_hsvcolor_picker: any -``` - -or - -```yaml -dependencies: - flutter_hsvcolor_picker: - git: - url: https://github.com/fluttercandies/flutter_hsvcolor_picker.git -``` - -Then run the flutter tooling: - -```bash -flutter packages get -``` - -Or upgrade the packages with: - -```bash -flutter packages upgrade -``` +https://pub.dev/packages/flutter_hsvcolor_picker/install ### Example ```dart - import "package:flutter_hsvcolor_picker/flutter_hsvcolor_picker.dart"; new ColorPicker( color: Colors.blue, - onChanged: (value){ } + onChanged: (value){ }, + initialPicker: Picker.paletteHue, ) - ``` - +Also see the example app on GitHub: https://github.com/fluttercandies/flutter_hsvcolor_picker/tree/master/example/lib ![](https://github.com/fluttercandies/flutter_hsvcolor_picker/blob/master/screenshot/design.png) -Details in [example/] folder.