d_zero_canvas 0.1.2
d_zero_canvas: ^0.1.2 copied to clipboard
Zero-allocation massive-element canvas widgets (live stream danmaku, infinite pan/zoom grid, 120Hz freehand drawing) for Flutter and Impeller.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add d_zero_canvasWith Flutter:
$ flutter pub add d_zero_canvasThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
d_zero_canvas: ^0.1.2Alternatively, 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:d_zero_canvas/d_zero_canvas.dart';