value property Null safety

T value

A value which can be retrieved using Layer.find.

Implementation

T get value => _value;
void value=(T newValue)

Implementation

set value (T newValue) {
  if (_value == newValue) {
    return;
  }
  _value = newValue;
  markNeedsPaint();
}