selectValueAccessor method Null safety

  1. @protected
  2. @visibleForTesting
ControlValueAccessor<ModelDataType, ViewDataType> selectValueAccessor()

Returns the value accessor for the reactive widget.

Must be override by children widgets to provide custom valueAccessor implementations to the widget.

See ControlValueAccessor.

Implementation

@protected
@visibleForTesting
ControlValueAccessor<ModelDataType, ViewDataType> selectValueAccessor() {
  return DefaultValueAccessor();
}