ApButton constructor

const ApButton({
  1. Key? key,
  2. required String text,
  3. dynamic onPressed()?,
})

Implementation

const ApButton({
  Key? key,
  required this.text,
  this.onPressed,
}) : super(key: key);