CompactPlayer constructor

const CompactPlayer(
  1. {Key? key,
  2. EdgeInsets? offset,
  3. bool expanded = false,
  4. Media? media,
  5. CompactPlayerController? controller,
  6. ShareMediaCallback? shareMediaCallback}
)

Implementation

const CompactPlayer(
    {super.key,
    this.offset,
    this.expanded = false,
    this.media,
    this.controller,
    this.shareMediaCallback});