strcolor 1.1.1 copy "strcolor: ^1.1.1" to clipboard
strcolor: ^1.1.1 copied to clipboard

Flutter package to convert color names to Color in Flutter. Offers a handful way to use colors by their names instead of using Colors constants.

1.1.1 - 2020-05-22 #

  • New features.
  • Supporting hexa colors as string.
  • Contrast color calculation to make easier to decide text color over a background color without the need of conditionals.
  • New tests added.
  • Documentation improvements.

1.0.0 - 2020-05-20 #

  • Initial release.

  • 1 transparent (Color?)

  • 3 Color

  • 16 MaterialAccentColor

  • 18 MaterialColor

  • 38 supported colors in total.

Color names supported: #

  • amber
  • amberAccent
  • black
  • blue
  • blueAccent
  • blueGrey
  • brown
  • cyan
  • cyanAccent
  • deepOrange
  • deepOrangeAccent
  • deepPurple
  • deepPurpleAccent
  • green
  • greenAccent
  • grey
  • indigo
  • indigoAccent
  • lightBlue
  • lightBlueAccent
  • lightGreen
  • lightGreenAccent
  • lime
  • limeAccent
  • orange
  • orangeAccent
  • pink
  • pinkAccent
  • purple
  • purpleAccent
  • red
  • redAccent
  • teal
  • tealAccent
  • transparent
  • white
  • yellow
  • yellowAccent
25
likes
30
pub points
15%
popularity

Publisher

unverified uploader

Flutter package to convert color names to Color in Flutter. Offers a handful way to use colors by their names instead of using Colors constants.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on strcolor