ActionButton<T>.neutral constructor
const
ActionButton<T>.neutral ({
- Key? key,
- required ValueGetter<
FutureOr< onAction,T> > - ValueChanged<
T> ? onActionResult, - bool autofocus = false,
- ObservableData<
bool> ? enabled, - ActionButtonBuilder buttonBuilder = buttonText,
Implementation
const ActionButton.neutral({
super.key,
required this.onAction,
this.onActionResult,
this.autofocus = false,
this.enabled,
this.buttonBuilder = buttonText,
}) : contentBuilder = neutralText;