public StreamBuilder( _async.AsyncWidgetBuilder <T> builder, Key key = null, T initialData = default, Stream <T> stream = null ) : base(key: key, stream: stream) { D.assert(builder != null); this.builder = builder; this.initialData = initialData; }
public FutureBuilder( _async.AsyncWidgetBuilder <T> builder, Key key = null, Future <T> future = null, T initialData = default ) : base(key: key) { D.assert(builder != null); this.builder = builder; this.future = future; this.initialData = initialData; }