prism_flutter 2.0.0-beta.1
prism_flutter: ^2.0.0-beta.1 copied to clipboard
Flutter extensions for the Prism color library. Conversion between Ray and Flutter Color objects with palette support.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add prism_flutterWith Flutter:
$ flutter pub add prism_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
prism_flutter: ^2.0.0-beta.1Alternatively, 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:prism_flutter/prism_flutter.dart';