ActionButton constructor

const ActionButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. required Widget icon,
})

Implementation

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