SergioEric / lol_colors_flutter

Flutter package for lolcolors page, based on web design rankings colors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lol_colors_flutter

Use lol Colors as a normal Color instead of using Colors.blue for example, you'll use LolColors.c4714_1

The convection used is:

LolColors.c + [color number] + [color position]

In which color number is the color in the lol Color List, and the color position correspond to 1,2,3 or 4

For example

Text("Lol Colors",
  style: TextStyle(
    color : LolColors.c2877_3
  )
),
Container(color:LolColors.c2877_1),
Container(color:LolColors.c2877_2),
Container(color:LolColors.c2877_3),
Container(color:LolColors.c2877_4),

Also, you can used in Gradient, by accesing LolColors.colors_color_number, as is showed belown

Container(
  decoration : BoxDecoration(
    gradient: LinearGradient(
      colors : LolColors.colors_c2877
    )
  )
)

Simple Demo

demo v1

Lol Color List

. lol_colors_list_1

lol_colors_list_1

About

Flutter package for lolcolors page, based on web design rankings colors


Languages

Language:Dart 99.3%Language:Swift 0.5%Language:Kotlin 0.2%Language:Objective-C 0.0%