AlertDialogAction<T>.negative constructor
const
AlertDialogAction<T>.negative ({
- Key? key,
- ValueGetter<
FutureOr< ? onAction,T> > - T? value,
- OnActionResult<
T> ? onResult = DialogRoute.popResult, - bool autofocus = false,
- LiveData<
bool> ? enabled, - ButtonStyleBuilder buttonBuilder = buttonText,
Implementation
const AlertDialogAction.negative({
super.key,
this.onAction,
this.value,
this.onResult = DialogRoute.popResult,
this.autofocus = false,
this.enabled,
this.buttonBuilder = buttonText,
}) : contentBuilder = _buildNegative;