easiercolorspecifying 0.0.3 easiercolorspecifying: ^0.0.3 copied to clipboard
A flutter package which adds a simple function to make specifying a color easier
here is a flutter package for easier specifying and editing colors and themes.
Usage #
simply import the package and call the function that it adds
colorEasySpecify()
Which creates a color from the values hueindex,saturation,
darkness and opacity, hueindex is the only required property.
by default:
saturation = 1
darkness = 0
value of every property must be between 0 to 1
about [hueindex] property the value of main colors is like this:
0 = red
1/6 = yellow
2/6 = green
3/6 = cyan
4/6 = blue
5/6 = purple
1 = red
and other colors(hues) are values in between\
import 'package:easiercolorspecifying/easiercolorspecifying.dart';
Container(
color: colorEasySpecify(hueindex: .8, darkness: 0, saturation: 1),
child: Center(
child: Text('hello'),
),
)