Add Linux implementation of the platform view example (#123731)

This commit is contained in:
Robert Ancell
2023-07-11 15:45:46 +12:00
committed by GitHub
parent 3163306d88
commit 8ee019d587
6 changed files with 429 additions and 1 deletions

View File

@@ -57,8 +57,9 @@ class _MyHomePageState extends State<MyHomePage> {
return const Text('Continue in Windows view');
case TargetPlatform.macOS:
return const Text('Continue in macOS view');
case TargetPlatform.fuchsia:
case TargetPlatform.linux:
return const Text('Continue in Linux view');
case TargetPlatform.fuchsia:
throw UnimplementedError('Platform not yet implemented');
}
}