DangerButton constructor

const DangerButton(
  1. {Key key,
  2. @required String title,
  3. @required Function onPressed}
)

Implementation

const DangerButton({Key key, @required this.title, @required this.onPressed})
    : super(key: key);