Skip to content

Commit

Permalink
bump 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mchome committed Mar 20, 2021
1 parent 7d9a7f1 commit 3d07c0d
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## [0.4.0]

* Release null-safety version.

## [0.4.0-nullsafety.0]

* [#36](https://github.com/mchome/flutter_colorpicker/pull/36) Support null safety.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 fuyumi
Copyright (c) 2021 fuyumi

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
2 changes: 2 additions & 0 deletions lib/src/colorpicker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import 'package:flutter/material.dart';

import 'package:flutter_colorpicker/src/hsv_picker.dart';

// The default layout of Color Picker.
class ColorPicker extends StatefulWidget {
const ColorPicker({
required this.pickerColor,
Expand Down Expand Up @@ -175,6 +176,7 @@ class _ColorPickerState extends State<ColorPicker> {
}
}

// The Color Picker with three sliders only. Support HSV, HSL and RGB color model.
class SlidePicker extends StatefulWidget {
const SlidePicker({
required this.pickerColor,
Expand Down
1 change: 1 addition & 0 deletions lib/src/hsv_colorpicker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import 'package:flutter/material.dart';

import 'package:flutter_colorpicker/src/hsv_picker.dart';

// The default layout of Color Picker but with [HSVColor] as input.
class HsvColorPicker extends StatefulWidget {
const HsvColorPicker({
required this.pickerColor,
Expand Down
4 changes: 4 additions & 0 deletions lib/src/hsv_picker.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/// The components of HSV Color Picker
///
/// Try to create a Color Picker with other layout on your own :)
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';

Expand Down
1 change: 1 addition & 0 deletions lib/src/material_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'package:flutter/material.dart';

import 'package:flutter_colorpicker/src/utils.dart';

// The Color Picker which contains Material Design Color Palette.
class MaterialPicker extends StatefulWidget {
MaterialPicker({
required this.pickerColor,
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: flutter_colorpicker
description: A HSV(HSB)/HSL color picker inspired by chrome devtools and a material color picker for your flutter app.
version: 0.4.0-nullsafety.0
version: 0.4.0
homepage: https://github.com/mchome/flutter_colorpicker

dependencies:
flutter:
sdk: flutter

environment:
sdk: ">=2.12.0-29.10.beta <3.0.0"
flutter: ">=1.24.0-10.2.pre <2.0.0"
sdk: ">=2.7.0 <3.0.0"
flutter: ">=1.17.0"

0 comments on commit 3d07c0d

Please sign in to comment.