CustomIconButton constructor

const CustomIconButton({
  1. Key? key,
  2. required String iconName,
  3. Size iconSize = const Size(PlayerStyles.commonIconSize, PlayerStyles.commonIconSize),
  4. EdgeInsets margin = EdgeInsets.zero,
  5. VoidCallback? onPressed,
})

Implementation

const CustomIconButton({
  super.key,
  required this.iconName,
  this.iconSize = const Size(
    PlayerStyles.commonIconSize,
    PlayerStyles.commonIconSize,
  ),
  this.margin = EdgeInsets.zero,
  this.onPressed,
});