ActionButton constructor

const ActionButton({
  1. Key? key,
  2. required String text,
  3. required IconData icon,
  4. VoidCallback? onPressed,
})

Implementation

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