Update docs to reflect Null Safety (#78143)
This commit is contained in:
committed by
GitHub
parent
e7ee0dd424
commit
b35fbfec1d
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user