showAlertDialog<R> abstract method

Future<R?> showAlertDialog<R>({
  1. String title,
  2. String message,
  3. void onAgreeClicked(
    1. BuildContext context
    ),
  4. void onDisagreeClicked(
    1. BuildContext context
    ),
})

Implementation

Future<R?> showAlertDialog<R>({
  String title,
  String message,
  void Function(BuildContext context) onAgreeClicked,
  void Function(BuildContext context) onDisagreeClicked,
});