value<T> method

void value<T>(
  1. OnState<TS> onState,
  2. ValueWidgetBuilder<T> builder
)

Implementation

void value<T>(OnState<TS> onState, ValueWidgetBuilder<T> builder) {
  _add(
    onState,
    (c, stated, child) => builder(c, stated.extractValue(), child),
  );
}