ButtonIcon constructor

const ButtonIcon({
  1. Key? key,
  2. IconData icon = Icons.favorite_border,
  3. ButtonIconType type = ButtonIconType.gray,
  4. bool isSelected = false,
  5. double size = 48.0,
  6. double? iconSize,
  7. 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,
});