ButtonIcon constructor
const
ButtonIcon({
- Key? key,
- IconData icon = Icons.favorite_border,
- ButtonIconType type = ButtonIconType.gray,
- bool isSelected = false,
- double size = 48.0,
- double? iconSize,
- VoidCallback? onTap,
Creates a ButtonIcon instance.
Implementation
const ButtonIcon({
super.key,
this.icon = Icons.favorite_border,
this.type = ButtonIconType.gray,
this.isSelected = false,
this.size = 48.0,
this.iconSize,
this.onTap,
});