CustomIconButton constructor
const
CustomIconButton({
- Key? key,
- required String iconName,
- Size iconSize = const Size(PlayerStyles.commonIconSize, PlayerStyles.commonIconSize),
- EdgeInsets margin = EdgeInsets.zero,
- VoidCallback? onPressed,
Implementation
const CustomIconButton({
super.key,
required this.iconName,
this.iconSize = const Size(
PlayerStyles.commonIconSize,
PlayerStyles.commonIconSize,
),
this.margin = EdgeInsets.zero,
this.onPressed,
});