SimplePlayerSettings.assets constructor
SimplePlayerSettings.assets({})
Implementation
factory SimplePlayerSettings.assets(
{required String path,
String? label = '',
double? aspectRatio = 16 / 9,
bool? autoPlay = false,
bool? loopMode = false,
bool? forceAspectRatio = false,
Color? colorAccent = Colors.red}) {
return SimplePlayerSettings(
type: 'assets',
path: path,
label: label,
aspectRatio: aspectRatio,
autoPlay: autoPlay,
loopMode: loopMode,
forceAspectRatio: forceAspectRatio,
colorAccent: colorAccent,
);
}