tml) ?  key  ,  T?  initialData  ,  required  [ Stream
](dart-async/Stream-class.html) < T  > ?  stream  ,  required  [
AsyncWidgetBuilder ](widgets/AsyncWidgetBuilder.html) < T  > builder  }  )

     Creates a new [ StreamBuilder ](widgets/StreamBuilder-class.html) that builds itself based on the latest snapshot of interaction with the specified [ stream ](widgets/StreamBuilderBase/stream.html) and whose build strategy is given by [ builder ](widgets/StreamBuilder/builder.html) . 

const

##  Properties

[ builder ](widgets/StreamBuilder/builder.html) → [ AsyncWidgetBuilder
](widgets/AsyncWidgetBuilder.html) < T  >

     The build strategy currently used by this builder. 

final

[ hashCode ](widgets/Widget/hashCode.html) → [ int ](dart-core/int-class.html)

     The hash code for this object. 

no setter  inherited

[ initialData ](widgets/StreamBuilder/initialData.html) → T?

     The data that will be used to create the initial snapshot. 

final

[ key ](widgets/Widget/key.html) → [ Key ](foundation/Key-class.html) ?

     Controls how one widget replaces another widget in the tree. 

final  inherited

[ runtimeType ](dart-core/Object/runtimeType.html) → [ Type ](dart-core/Type-
class.html)

     A representation of the runtime type of the object. 

no setter  inherited

[ stream ](widgets/StreamBuilderBase/stream.html) → [ Stream ](dart-
async/Stream-class.html) < T  > ?

     The asynchronous computation to which this builder is currently connected, possibly null. When changed, the current summary is updated using [ afterDisconnected ](widgets/StreamBuilder/afterDisconnected.html) , if the previous stream was not null, followed by [ afterConnected ](widgets/StreamBuilder/afterConnected.html) , if the new stream is not null. 

final  inherited

##  Methods

[ afterConnected ](widgets/StreamBuilder/afterConnected.html) (  [
AsyncSnapshot ](widgets/AsyncSnapshot-class.html) < T  > current  )  → [
AsyncSnapshot ](widgets/AsyncSnapshot-class.html) < T  >

     Returns an updated version of the ` current ` summary reflecting that we are now connected to a stream. 

override

[ afterData ](widgets/StreamBuilder/afterData.html) (  [ AsyncSnapshot
](widgets/AsyncSnapshot-class.html) < T  > current  ,  T  data  )  → [
AsyncSnapshot ](widgets/AsyncSnapshot-class.html) < T  >

     Returns an updated version of the ` current ` summary following a data event. 

override

[ afterDisconnected ](widgets/StreamBuilder/afterDisconnected.html) (  [
AsyncSnapshot ](widgets/AsyncSnapshot-class.html) < T  > current  )  → [
AsyncSnapshot ](widgets/AsyncSnapshot-class.html) < T  >

     Returns an updated version of the ` current ` summary reflecting that we are no longer connected to a stream. 

override

[ afterDone ](widgets/StreamBuilder/afterDone.html) (  [ AsyncSnapshot
](widgets/AsyncSnapshot-class.html) < T  > current  )  → [ AsyncSnapshot
](widgets/AsyncSnapshot-class.html) < T  >

     Returns an updated version of the ` current ` summary following stream termination. 

override

[ afterError ](widgets/StreamBuilder/afterError.html) (  [ AsyncSnapshot
](widgets/AsyncSnapshot-class.html) < T  > current  ,  [ Object ](dart-
core/Object-class.html) error  ,  [ StackTrace ](dart-core/StackTrace-
class.html) stackTrace  )  → [ AsyncSnapshot ](widgets/AsyncSnapshot-
class.html) < T  >

     Returns an updated version of the ` current ` summary following an error with a stack trace. 

override

[ build ](widgets/StreamBuilder/build.html) (  [ BuildContext
](widgets/BuildContext-class.html) context  ,  [ AsyncSnapshot
](widgets/AsyncSnapshot-class.html) < T  > currentSummary  )  → [ Widget
](widgets/Widget-class.html)

     Returns a Widget based on the ` currentSummary ` . 

override

[ createElement ](widgets/StatefulWidget/createElement.html) (  )  → [
StatefulElement ](widgets/StatefulElement-class.html)

     Creates a [ StatefulElement ](widgets/StatefulElement-class.html) to manage this widget's location in the tree. 

inherited

[ cre