StateButtonSimple constructor Null safety

const StateButtonSimple(
  1. {double fontSize = 14.0,
  2. Color textColor = Colors.black,
  3. Color backgroundColor = Colors.white,
  4. String label = 'State',
  5. Key? key}
)

Implementation

const StateButtonSimple({
  this.fontSize = 14.0,
  this.textColor = Colors.black,
  this.backgroundColor = Colors.white,
  this.label = 'State',
  Key? key,
}) : super(key: key);