FontIconButton constructor

const FontIconButton(
  1. IconData icon, {
  2. Key? key,
  3. Function onClick = _doNothing,
  4. required Color color,
})

Creates a new button with icon as a child (text)

Implementation

const FontIconButton(
  this.icon, {
  Key? key,
  this.onClick = _doNothing,
  required this.color,
}) : super(key: key);