hex_to_color_plus 1.0.0+5 copy "hex_to_color_plus: ^1.0.0+5" to clipboard
hex_to_color_plus: ^1.0.0+5 copied to clipboard

Convert hex strings to Color objects in Flutter, including ARGB formats with alpha transparency.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add hex_to_color_plus

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

dependencies:
  hex_to_color_plus: ^1.0.0+5

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:hex_to_color_plus/hex_color.dart';
import 'package:hex_to_color_plus/main.dart';
0
likes
150
points
1
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Convert hex strings to Color objects in Flutter, including ARGB formats with alpha transparency.

Homepage

License

MIT (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on hex_to_color_plus