LiquidButton constructor

LiquidButton({
  1. required String name,
  2. double fontSize = 19,
  3. double width = 88,
  4. double height = 36,
  5. required dynamic onPressed(),
  6. Color? backgroundColor,
  7. Key? key,
})

The only required fields are name and onPressed

Implementation

LiquidButton(
    {required this.name,
    this.fontSize = 19,
    this.width = 88,
    this.height = 36,
    required this.onPressed,
    this.backgroundColor,
    this.key});