Todd Volkert b61fcfd25d
AsyncSnapshot.data to throw if error or no data (#34626)
This updates `AsyncSnapshot.data` to act as `AsyncSnapshot.requireData`
used to -- and it removes `AsyncSnapshot.requireData`. Correspondingly,
this adds a `StreamBuilder.withoutInitialData()` constructor, makes the
`initialData` argument to the default `StreamBuilder()` constructor required,
and deprecates the `initialData` argument to the `FutureBuilder()` constructor.

See the  breaking change announcement for more info.

https://github.com/flutter/flutter/issues/34545
https://groups.google.com/forum/#!topic/flutter-announce/H6Od0QdsdrI
2019-07-18 16:26:13 -07:00
..
2019-07-04 11:26:19 -07:00

Flutter

Flutter is a new way to build high-performance, cross-platform mobile apps. Flutter is optimized for today's — and tomorrow's — mobile devices. We are focused on low-latency input and high frame rates on Android and iOS.

See the getting started guide for information about using Flutter.