kDefaultMaterialVideoControlsThemeDataFullscreen top-level constant
MaterialVideoControlsThemeData
const kDefaultMaterialVideoControlsThemeDataFullscreen
Default MaterialVideoControlsThemeData for fullscreen.
Implementation
const kDefaultMaterialVideoControlsThemeDataFullscreen =
MaterialVideoControlsThemeData(
displaySeekBar: true,
automaticallyImplySkipNextButton: true,
automaticallyImplySkipPreviousButton: true,
volumeGesture: true,
brightnessGesture: true,
seekGesture: true,
gesturesEnabledWhileControlsVisible: true,
seekOnDoubleTap: true,
seekOnDoubleTapEnabledWhileControlsVisible: true,
visibleOnMount: false,
speedUpOnLongPress: false,
speedUpFactor: 2.0,
verticalGestureSensitivity: 100,
horizontalGestureSensitivity: 1000,
backdropColor: Color(0x66000000),
padding: null,
controlsHoverDuration: Duration(seconds: 3),
controlsTransitionDuration: Duration(milliseconds: 300),
bufferingIndicatorBuilder: null,
volumeIndicatorBuilder: null,
brightnessIndicatorBuilder: null,
seekIndicatorBuilder: null,
speedUpIndicatorBuilder: null,
primaryButtonBar: [
Spacer(flex: 2),
MaterialSkipPreviousButton(),
Spacer(),
MaterialPlayOrPauseButton(iconSize: 56.0),
Spacer(),
MaterialSkipNextButton(),
Spacer(flex: 2),
],
topButtonBar: [],
topButtonBarMargin: EdgeInsets.symmetric(
horizontal: 16.0,
),
bottomButtonBar: [
MaterialPositionIndicator(),
Spacer(),
MaterialFullscreenButton(),
],
bottomButtonBarMargin: EdgeInsets.only(
left: 16.0,
right: 8.0,
bottom: 42.0,
),
buttonBarHeight: 56.0,
buttonBarButtonSize: 24.0,
buttonBarButtonColor: Color(0xFFFFFFFF),
seekBarMargin: EdgeInsets.only(
left: 16.0,
right: 16.0,
bottom: 42.0,
),
seekBarHeight: 2.4,
seekBarContainerHeight: 36.0,
seekBarColor: Color(0x3DFFFFFF),
seekBarPositionColor: Color(0xFFFF0000),
seekBarBufferColor: Color(0x3DFFFFFF),
seekBarThumbSize: 12.8,
seekBarThumbColor: Color(0xFFFF0000),
seekBarAlignment: Alignment.bottomCenter,
shiftSubtitlesOnControlsVisibilityChange: false,
);