SimpleStateBridge<T> constructor

SimpleStateBridge<T>(
  1. T initialState
)

Creates a SimpleStateBridge with the given initialState.

Implementation

SimpleStateBridge(T initialState) : _notifier = ValueNotifier<T>(initialState);