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({
  super.key,
  this.onClick = _doNothing,
  this.icon = const SizedBox(),
});