PumaCupertinoButton constructor

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

Implementation

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