value property
The cell's value
Implementation
@override
T get value {
final state = this.state;
if (state == null) {
try {
return _untrackedCompute();
}
on StopComputeException catch (e) {
if (e.defaultValue == null && null is! T) {
throw UninitializedCellError();
}
return e.defaultValue;
}
}
return state.value;
}