MutableCell<T> constructor
MutableCell<T> (
- T value, {
- dynamic key,
- bool reset = false,
Create a mutable cell with its value initialized to value
.
If reset
is true and a cell with the same key
has been created,
the shared value of the cells is reset to value
.
Implementation
factory MutableCell(T value, {
key,
bool reset = false
}) => _MutableCellImpl(value,
key: key,
reset: reset
);