buildDefault method
Implementation
Widget buildDefault() => buildVideoPlayerBuilder(
builder: (BuildContext context, AssetEntity asset) {
if (hasErrorWhenInitializing) {
return buildInitializationError();
}
if (!isLocallyAvailable && !isInitializing) {
initializeVideoPlayerController();
}
if (!hasLoaded) {
return buildLoader();
}
return buildVideoPlayer();
},
);