LxVar<T> constructor

LxVar<T>(
  1. T initial, {
  2. void onListen()?,
  3. void onCancel()?,
  4. String? name,
})

Creates a reactive variable with an initial value.

Implementation

LxVar(super.initial, {super.onListen, super.onCancel, super.name});