buildActions method
Implementation
@override
List<Widget> buildActions(
BuildContext context, List<DialogChoice<T>> selectedChoices) {
return [
TextButton(
onPressed: () => cancelDialog(context), child: actions[0].title)
];
}
@override
List<Widget> buildActions(
BuildContext context, List<DialogChoice<T>> selectedChoices) {
return [
TextButton(
onPressed: () => cancelDialog(context), child: actions[0].title)
];
}