PlayerConfig class
- Inheritance
-
- Object
- BaseConfig
- PlayerConfig
Constructors
- PlayerConfig({bool? shouldShowSubtitles = false, bool? isMuted = false, PlayerStyle? playerStyle})
Properties
- eventsListener ↔ PlayerEventsListener?
-
getter/setter pair
-
extraArgs
↔ Map<
String, dynamic> -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMuted ↔ bool?
-
getter/setter pair
- playerStyle ↔ PlayerStyle?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldShowSubtitles ↔ bool?
-
getter/setter pair
- style ↔ dynamic
-
getter/setter pairinherited
Methods
-
convertToMap(
) → Map< String, dynamic> -
override
-
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.
inherited
Static Methods
-
convertFromMap(
Map< String, dynamic> map) → PlayerConfig -
defaultPlayerConfig(
) → PlayerConfig