PlayerControls constructor

const PlayerControls(
  1. {Key? key,
  2. Color? iconColor,
  3. double? iconSize,
  4. required bool isPlaying(
    1. BuildContext context
    ),
  5. Future onPressed(
    1. BuildContext context,
    2. Control control
    )?,
  6. bool compact = false,
  7. MainAxisSize mainAxisSize = MainAxisSize.max}
)

Implementation

const PlayerControls(
    {super.key,
    this.iconColor,
    this.iconSize,
    required this.isPlaying,
    this.onPressed,
    this.compact = false,
    this.mainAxisSize = MainAxisSize.max});