ConvertedController<F, T> constructor
ConvertedController<F, T> (
- ValueNotifier<
F> other, - BiDirectionalConvert<
F, T> convert
Implementation
ConvertedController(
ValueNotifier<F> other, BiDirectionalConvert<F, T> convert)
: _other = other,
_convert = convert,
_value = convert.convertA(other.value) {
_other.addListener(_onOtherValueChanged);
}