FontCustomButton constructor

const FontCustomButton({
  1. Key? key,
  2. Function onClick = _doNothing,
  3. Widget icon = const SizedBox(),
})

Creates a new button with icon as the content

Implementation

const FontCustomButton({
  Key? key,
  this.onClick = _doNothing,
  this.icon = const SizedBox(),
}) : super(key: key);