Add Linux implementation of the platform view example (#123731)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user