miniav_flutter 0.5.8
miniav_flutter: ^0.5.8 copied to clipboard
Flutter companion for miniav. Re-exports the full miniav API and auto-registers a WidgetsBindingObserver that calls MiniAV.dispose() on hot restart, preventing "Callback invoked after it has been dele [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add miniav_flutterWith Flutter:
$ flutter pub add miniav_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
miniav_flutter: ^0.5.8Alternatively, 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:miniav_flutter/miniav_flutter.dart';