SimplePlayerSettings class

Constructors

SimplePlayerSettings({required String? type, required String? path, required String? label, required double? aspectRatio, required bool? autoPlay, required bool? loopMode, required bool? forceAspectRatio, required Color? colorAccent})
SimplePlayerSettings.assets({required String path, String? label = '', double? aspectRatio = 16 / 9, bool? autoPlay = false, bool? loopMode = false, bool? forceAspectRatio = false, Color? colorAccent = Colors.red})
factory
SimplePlayerSettings.network({required String path, String? label = '', double? aspectRatio = 16 / 9, bool? autoPlay = false, bool? loopMode = false, bool? forceAspectRatio = false, Color? colorAccent = Colors.red})
SimplePlayerSettings properties can be configured in the following ways:
factory

Properties

aspectRatio double?
getter/setter pair
autoPlay bool?
getter/setter pair
colorAccent Color?
getter/setter pair
forceAspectRatio bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String?
getter/setter pair
loopMode bool?
getter/setter pair
path String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
getter/setter pair

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.
inherited