MutableCell<T> constructor

MutableCell<T>(
  1. T value, {
  2. dynamic key,
  3. 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
);