Unverified Commit b35fbfec authored by Benjamin Swerdlow's avatar Benjamin Swerdlow Committed by GitHub

Update docs to reflect Null Safety (#78143)

parent e7ee0dd4
......@@ -768,8 +768,8 @@ class Image extends StatefulWidget {
/// ),
/// child: Image.network(
/// 'https://flutter.github.io/assets-for-api-docs/assets/widgets/puffin.jpg',
/// frameBuilder: (BuildContext context, Widget child, int? frame, bool? wasSynchronouslyLoaded) {
/// if (wasSynchronouslyLoaded ?? false) {
/// frameBuilder: (BuildContext context, Widget child, int? frame, bool wasSynchronouslyLoaded) {
/// if (wasSynchronouslyLoaded) {
/// return child;
/// }
/// return AnimatedOpacity(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment