onChanged property

  1. @Deprecated('Fields should not be aware of their context')
(void Function(BuildContext context, T? value)?) onChanged
final

Callback for when Field's value changed through:

  1. WidgetbookState.queryParams, used for deep linking.
  2. Field's widget from the side panel.

Implementation

@Deprecated('Fields should not be aware of their context')
final void Function(BuildContext context, T? value)? onChanged;