AppButton constructor

const AppButton({
  1. required String title,
  2. required String tooltip,
  3. required VoidCallback onPressed,
  4. Key? key,
  5. Color backgroundColor = Colors.white,
  6. double fontSize = 20,
  7. FontWeight fontWeight = FontWeight.normal,
})

Idetntify the required parameters.

Implementation

const AppButton({
  required this.title,
  required this.tooltip,
  required this.onPressed,
  super.key,
  this.backgroundColor = Colors.white,
  this.fontSize = 20,
  this.fontWeight = FontWeight.normal,
});