color_hex 0.0.1 copy "color_hex: ^0.0.1" to clipboard
color_hex: ^0.0.1 copied to clipboard

Flutter package to convert hex String to Color() , and Color() to hex String

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add color_hex

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  color_hex: ^0.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:color_hex/color_hex.dart';
5
likes
140
points
51
downloads

Publisher

verified publisherabom.me

Weekly Downloads

Flutter package to convert hex String to Color() , and Color() to hex String

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on color_hex