ActionButton<T>.neutral constructor

const ActionButton<T>.neutral({
  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.neutral({
  super.key,
  required this.onAction,
  this.onActionResult,
  this.autofocus = false,
  this.enabled,
  this.buttonBuilder = buttonText,
}) : contentBuilder = neutralText;