ReactRef<T> constructor

ReactRef<T>([
  1. T? current
])

Creates a ref with current as its initial value.

Implementation

ReactRef([T? current]) : _current = current, _onChanged = null;