1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
This commit is contained in:
Brett Morgan
2022-05-11 12:48:11 -07:00
committed by GitHub
parent fb00d0a102
commit ccd68f34e2
242 changed files with 1719 additions and 1430 deletions

View File

@@ -20,7 +20,7 @@ class SongsTab extends StatefulWidget {
final Widget? androidDrawer;
@override
_SongsTabState createState() => _SongsTabState();
State<SongsTab> createState() => _SongsTabState();
}
class _SongsTabState extends State<SongsTab> {
@@ -96,7 +96,7 @@ class _SongsTabState extends State<SongsTab> {
// done in a real app but it's done here since this app
// unrealistically toggles the current platform for demonstration
// purposes.
WidgetsBinding.instance!.reassembleApplication();
WidgetsBinding.instance.reassembleApplication();
}
// ===========================================================================
@@ -145,8 +145,8 @@ class _SongsTabState extends State<SongsTab> {
CupertinoSliverNavigationBar(
trailing: CupertinoButton(
padding: EdgeInsets.zero,
child: const Icon(CupertinoIcons.shuffle),
onPressed: _togglePlatform,
child: const Icon(CupertinoIcons.shuffle),
),
),
CupertinoSliverRefreshControl(