StateSetter<T> constructor

const StateSetter<T>(
  1. void _setValue(
    1. T
    ),
  2. void _setUpdater(
    1. T (
      1. T previous
      )
    )
)

Creates a state setter from renderer operations.

Implementation

const StateSetter(this._setValue, this._setUpdater);