WidgetBuilderSelector constructor
Creates a new WidgetBuilderSelector instance
stream
: Stream<bool>
that signals that the this Widget should be updated
onTrue
: builder that should be executed if an item with value true is received
onFalse
: builder that should be executed if an item with value false is received
Implementation
const WidgetBuilderSelector({
Stream<bool> buildEvents,
this.onTrue,
this.onFalse,
this.errorBuilder,
this.placeHolderBuilder,
Key key,
bool initialValue,
}) : assert(buildEvents != null),
assert(onTrue != null),
assert(onFalse != null),
super(buildEvents, initialValue, key: key);