SubtitleRegexObject class abstract

Class responsible for providing the necessary expression for the purpose of decoding the content of subtitle files for the purpose of using them in the converted class SubtitleParser to provide proper subtitle objects, and then using them in the controller to display the required content within the required time.

  • Supported Regex:

    • VTT

    • SRT

    • TTML

    • DFXP

    • Custom

  • Unsupported formats:

    • SBV

    • SSA

Implementers

Constructors

SubtitleRegexObject({required String pattern, required SubtitleType type})
const
SubtitleRegexObject.custom(String pattern)
Custom (User defin type)
factory
SubtitleRegexObject.srt()
SubRip Regex
factory
SubtitleRegexObject.ttml()
Timed Text Markup Language
factory
SubtitleRegexObject.vtt()
WebVTT Regex
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
pattern String
The regex class
final
props List<Object>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type SubtitleType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override