WidgetBuilderSelector constructor

const WidgetBuilderSelector({Stream<bool> buildEvents, WidgetBuilder onTrue, WidgetBuilder onFalse, Key key })

Creates a new WidgetBuilderSelector instance buildEvents : 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 true is received

Implementation

const WidgetBuilderSelector({this.buildEvents,  this.onTrue,  this.onFalse, Key key })
        :  assert(buildEvents != null),assert(onTrue != null), assert(onFalse != null), super(key: key);