LxVar<T> constructor
LxVar<T> (
- T initial, {
- void onListen()?,
- void onCancel()?,
- String? name,
Creates a reactive variable with an initial value.
Implementation
LxVar(super.initial, {super.onListen, super.onCancel, super.name});