PlayButton constructor

const PlayButton(
  1. {Key? key,
  2. required VoidCallback onPressed,
  3. String icon = "assets/FigmaDesign/Asset/SVG/Play.svg",
  4. double iconSize = 30,
  5. double leftOffset = 0}
)

Implementation

const PlayButton({
  super.key,
  required this.onPressed,
  this.icon = "assets/FigmaDesign/Asset/SVG/Play.svg",
  this.iconSize = 30,
  this.leftOffset = 0,
});