package to use html colors standard
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Add dependency in your pubspec.yaml file:
or use Slidy:
slidy install html_color
A simple usage example:
//import import 'package:html_color/html_color.dart'; HTMLColor.hex('F1F1F1');
You can set the opacity if you want
HTMLColor.hex('F1F1F1', opacity: .5);
Features and bugs
Please send feature requests and bugs at the issue tracker.
Created from templates made available by Stagehand under a BSD-style license.