Amphitheatre constructor
const
Amphitheatre({
- required AmphitheatreController controller,
- AmphitheatreComponentBuilder buildCloseButton = _buildCloseButton,
- AmphitheatreComponentBuilder? buildDoneButton,
- AmphitheatreComponentBuilder buildReplayButton = _buildReplayButton,
- AmphitheatreComponentBuilder buildProgressSlider = _buildProgressSlider,
- AmphitheatreComponentBuilder buildVideoControls = _buildVideoControls,
- AmphitheatreComponentBuilder buildVideoInfo = _buildVideoInfo,
- bool enableToggleControls = true,
- bool enableReplayButton = true,
- bool autoPlay = true,
- Key? key,
The default constructor for Amphitheatre.
Implementation
const Amphitheatre({
required this.controller,
this.buildCloseButton = _buildCloseButton,
this.buildDoneButton,
this.buildReplayButton = _buildReplayButton,
this.buildProgressSlider = _buildProgressSlider,
this.buildVideoControls = _buildVideoControls,
this.buildVideoInfo = _buildVideoInfo,
this.enableToggleControls = true,
this.enableReplayButton = true,
this.autoPlay = true,
super.key,
}) : consumedController = false;