ActionButton<T>.negative constructor

const ActionButton<T>.negative({
  1. Key? key,
  2. required ValueGetter<FutureOr<T>> onAction,
  3. ValueChanged<T>? onActionResult,
  4. bool autofocus = false,
  5. ObservableData<bool>? enabled,
  6. ActionButtonBuilder buttonBuilder = buttonText,
})

Implementation

const ActionButton.negative({
  super.key,
  required this.onAction,
  this.onActionResult,
  this.autofocus = false,
  this.enabled,
  this.buttonBuilder = buttonText,
}) : contentBuilder = negativeText;