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