current property

T? get current

The value currently stored in the ref.

Implementation

T? get current => _current;
set current (T? value)

Updates the ref and notifies an optional renderer bridge.

Implementation

set current(T? value) {
  _current = value;
  _onChanged?.call(value);
}