PlatformDialogAction<T> constructor
const
PlatformDialogAction<T> ({
- required T result(),
- VoidCallback? action,
- bool isDestructive = false,
- bool isDefault = false,
- String? text,
- Widget? child,
Implementation
const PlatformDialogAction({
required this.result,
this.action,
this.isDestructive = false,
this.isDefault = false,
this.text,
this.child,
}) : assert(text != null || child != null);