kolors 0.1.0+3 copy "kolors: ^0.1.0+3" to clipboard
kolors: ^0.1.0+3 copied to clipboard

outdated

The named HTML colors that you can use in your Flutter apps.

kolors #

The named HTML colors that you can use in your Flutter apps.

HTML and CSS lets you use around 140 names colors. With this simple Flutter package, you can now access these colors also from your Flutter app.

Continuous Integration codecov kolors Published by dartside.dev GitHub Stars Count

Usage #

import 'package:kolors/kolors.dart';

// If you want to show the colors with their names to your users,
// use the "asMap" that contains the colors names and the colors.
final m = Kolors.asMap();
final entries = m.entries.toList(growable: false);

// Just type "Kolors." and pick a color that you like.
const appBarColor = Kolors.tomato;

// You can use the grouped classes if you know which color's shades
// you are interested in.
const fabColor = KolorBlues.skyBlue;

TODO: demo app gif TODO: demo IntelliJ

You can find the example app on GitHub and on pub.dev.

Please keep in mind that this package has a dart:ui dependency (and therefore runs only with Flutter).

4
likes
0
pub points
0%
popularity

Publisher

verified publisherdartside.dev

The named HTML colors that you can use in your Flutter apps.

Repository
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on kolors