easiercolorspecifying 0.0.1 copy "easiercolorspecifying: ^0.0.1" to clipboard
easiercolorspecifying: ^0.0.1 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 the saturation = 1, and 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

    Scaffold(
        backgroundColor: Color.fromRGBO(1, 2, 3, 3),
        body: Expanded(
            child: Container(
          color: colorFromidk(hueindex: .8, darkness: 0, saturation: 1),
          child: Center(
            child: Text(''),
          ),
        )),
      ),
0
likes
0
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package which adds a simple function to make specifying a color easier

License

unknown (license)

Dependencies

flutter

More

Packages that depend on easiercolorspecifying