[macOS] Add platform_view example. (#111005)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user