PumaMaterialButton constructor

const PumaMaterialButton({
  1. Key? key,
  2. required String text,
  3. required Color color,
  4. required void onPressed(),
  5. int delayAction = 0,
  6. required BuildContext context,
})

Implementation

const PumaMaterialButton(
    {Key? key,
    required this.text,
    required this.color,
    required this.onPressed,
    this.delayAction = 0,
    required this.context})
    : super(key: key);