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
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited