flick-video-player
flick-video-player copied to clipboard
try to set the playerLoadingFallback, but occasionally it didn't work
version list: Flutter 3.16.9 flick_video_player: ^0.7.0 video_player: ^2.8.2
demo:
FlickVideoPlayer(
flickManager: flickManager,
flickVideoWithControls: FlickVideoWithControls(
videoFit: BoxFit.contain,
controls: SafeArea(
child: FlickPortraitControls(
iconSize: 22,
fontSize: 14,
progressBarSettings: FlickProgressBarSettings(
padding: const EdgeInsets.symmetric(
vertical: 10,
),
),
),
),
// TDLoading is a custom style loading widget
playerLoadingFallback: const Center(
child: TDLoading(
size: TDLoadingSize.medium,
icon: TDLoadingIcon.circle,
iconColor: Color.fromRGBO(214, 224, 244, 1),
),
),
),
)
But it still shows the purple one. What should I do?