miniav_flutter 0.7.2
miniav_flutter: ^0.7.2 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 Flutter:
$ flutter pub add miniav_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
miniav_flutter: ^0.7.2Alternatively, your editor might support 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';