state property
The current state of the cell, or null if the cell is inactive.
Implementation
@override
@protected
CellState get state {
if (key == null) {
return _ensureState();
}
final state = super.state;
if (state == null) {
throw InactivePersistentStatefulCellError();
}
return state;
}