mirror of
https://github.com/flutter/samples.git
synced 2025-11-09 14:28:51 +00:00
Beta (#1234)
This commit is contained in:
@@ -43,7 +43,7 @@ class GalleryScaffold extends StatefulWidget {
|
||||
});
|
||||
|
||||
@override
|
||||
_GalleryScaffoldState createState() => _GalleryScaffoldState();
|
||||
State<GalleryScaffold> createState() => _GalleryScaffoldState();
|
||||
}
|
||||
|
||||
class _GalleryScaffoldState extends State<GalleryScaffold> {
|
||||
@@ -61,7 +61,7 @@ class _GalleryScaffoldState extends State<GalleryScaffold> {
|
||||
SizedBox(height: 250.0, child: widget.childBuilder()),
|
||||
])),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
child: const Icon(Icons.refresh), onPressed: _handleButtonPress),
|
||||
onPressed: _handleButtonPress, child: const Icon(Icons.refresh)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user