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