AlertAction constructor

AlertAction(
  1. String title,
  2. Function onPressed
)

Implementation

AlertAction(this.title, this.onPressed);