setFileSource method
Implementation
Future<void> setFileSource(String filePath,
{bool isLooping = false,
bool autoPlay = true,
bool? mixWithOthers,
Future<ClosedCaptionFile>? closedCaptionFile,
Widget? prepare,
Alignment? alignment,
BoxFit? fit}) {
return setDataSource("file://" + filePath,
isLooping: isLooping,
autoPlay: autoPlay,
mixWithOthers: mixWithOthers,
closedCaptionFile: closedCaptionFile,
prepare: prepare,
alignment: alignment,
fit: fit);
}