mirror of
https://github.com/flutter/samples.git
synced 2026-04-06 11:41:26 +00:00
Beta branch fix (#173)
This commit is contained in:
committed by
Andrew Brogdon
parent
6673acc6d7
commit
73086e20c1
@@ -64,6 +64,7 @@ class _DrawerDemoState extends State<DrawerDemo> with TickerProviderStateMixin {
|
||||
case TargetPlatform.fuchsia:
|
||||
return Icons.arrow_back;
|
||||
case TargetPlatform.iOS:
|
||||
case TargetPlatform.macOS:
|
||||
return Icons.arrow_back_ios;
|
||||
}
|
||||
assert(false);
|
||||
|
||||
@@ -359,6 +359,7 @@ class _PlatformItem extends StatelessWidget {
|
||||
case TargetPlatform.fuchsia:
|
||||
return 'Fuchsia';
|
||||
case TargetPlatform.iOS:
|
||||
case TargetPlatform.macOS:
|
||||
return 'Cupertino';
|
||||
}
|
||||
assert(false);
|
||||
|
||||
Reference in New Issue
Block a user