srt_parser_2 2.0.2 srt_parser_2: ^2.0.2 copied to clipboard
A cross-platform, .srt parser that allows you to read a String containing Html and Coordinates and results to subtitle objects.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add srt_parser_2
With Flutter:
$ flutter pub add srt_parser_2
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
srt_parser_2: ^2.0.2
Alternatively, 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:srt_parser_2/srt_parser_2.dart';