Amphitheatre constructor

const Amphitheatre({
  1. required AmphitheatreController controller,
  2. AmphitheatreComponentBuilder buildCloseButton = _buildCloseButton,
  3. AmphitheatreComponentBuilder? buildDoneButton,
  4. AmphitheatreComponentBuilder buildReplayButton = _buildReplayButton,
  5. AmphitheatreComponentBuilder buildProgressSlider = _buildProgressSlider,
  6. AmphitheatreComponentBuilder buildVideoControls = _buildVideoControls,
  7. AmphitheatreComponentBuilder buildVideoInfo = _buildVideoInfo,
  8. bool enableToggleControls = true,
  9. bool enableReplayButton = true,
  10. bool autoPlay = true,
  11. 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;