hex_to_color_plus 1.0.0+5
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_plusThis 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+5Alternatively, 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';