FontColorButton constructor

const FontColorButton({
  1. Key? key,
  2. String hexCode = "#000000",
  3. Color color = Colors.black,
  4. Function onClick = _doNothing,
})

Creates a new button with an "A" in the center, and a bar with the color color underneath. If no arguments are passed, it defaults to black.

Implementation

const FontColorButton({
  Key? key,
  this.hexCode = "#000000",
  this.color = Colors.black,
  this.onClick = _doNothing,
}) : super(key: key);