pure_dart_ui 0.1.2 pure_dart_ui: ^0.1.2 copied to clipboard
Some classes from `dart.ui` that run on pure Dart without depending on the Flutter SDK.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart 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.2
Alternatively, your editor might support dart 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';