pure_dart_ui 0.1.10 pure_dart_ui: ^0.1.10 copied to clipboard
The classes and functions from dart:ui that works on all platforms: Color, Offset, Rect, Size, etc.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pure_dart_ui
With Flutter:
$ flutter pub add pure_dart_ui
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
pure_dart_ui: ^0.1.10
Alternatively, 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:pure_dart_ui/pure_dart_ui.dart';