apiverve_colorbrightness 1.2.3
apiverve_colorbrightness: ^1.2.3 copied to clipboard
Color Brightness Calculator checks hex color brightness to classify values as light, dark, or medium, returning RGB components. Paid plans add WCAG contrast ratios, luminance scores, and recommended t [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add apiverve_colorbrightnessWith Flutter:
$ flutter pub add apiverve_colorbrightnessThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
apiverve_colorbrightness: ^1.2.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:apiverve_colorbrightness/apiverve_colorbrightness.dart';