easiercolorspecifying 0.0.3 copy "easiercolorspecifying: ^0.0.3" to clipboard
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'),
          ),
        )
0
likes
140
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on easiercolorspecifying