SeniorIconButton constructor

const SeniorIconButton({
  1. Key? key,
  2. bool disabled = false,
  3. required IconData icon,
  4. required VoidCallback onTap,
  5. bool outlined = false,
  6. required SeniorIconButtonSize size,
  7. SeniorIconButtonStyle? style,
  8. required SeniorIconButtonType type,
})

Creates the SDS Icon button component. The parameters icon, onTap, size and type are required.

Implementation

const SeniorIconButton({
  Key? key,
  this.disabled = false,
  required this.icon,
  required this.onTap,
  this.outlined = false,
  required this.size,
  this.style,
  required this.type,
}) : super(key: key);