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