on method
Associates this state with a reactive widget builder.
Implementation
StateBuilder on(Widget Function(T) build) {
return StateBuilder(
uniqueKey: uniqueKey,
build: (dynamic value) => build(value as T),
);
}
Associates this state with a reactive widget builder.
StateBuilder on(Widget Function(T) build) {
return StateBuilder(
uniqueKey: uniqueKey,
build: (dynamic value) => build(value as T),
);
}