ActionButton constructor

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

    Implementation

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