srt_flutter_libs 1.0.0
srt_flutter_libs: ^1.0.0 copied to clipboard
A extencion of srt_dart to offer the library libsrt to flutter. And a safe dispose/cleanup in lifecycle of the App
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add srt_flutter_libsThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
srt_flutter_libs: ^1.0.0Alternatively, 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:srt_flutter_libs/main.dart';