[macOS] Add platform_view example. (#111005)

This commit is contained in:
Alex Wallen
2022-09-07 11:12:51 -07:00
committed by GitHub
parent dca85127e6
commit c5890f0c23
21 changed files with 1329 additions and 2 deletions

View File

@@ -54,10 +54,11 @@ class _MyHomePageState extends State<MyHomePage> {
case TargetPlatform.iOS:
return const Text('Continue in iOS view');
case TargetPlatform.windows:
return const Text('Cotninue in Windows view');
return const Text('Continue in Windows view');
case TargetPlatform.macOS:
return const Text('Continue in macOS view');
case TargetPlatform.fuchsia:
case TargetPlatform.linux:
case TargetPlatform.macOS:
throw UnimplementedError('Platform not yet implemented');
}
}