blob: 0e1fa374d16abc0ef3d9f7bf37b90723f5a6f861 [file] [log] [blame]
{{#no_platforms}}
// You have generated a new plugin project without specifying the `--platforms`
// flag. A plugin project with no platform support was generated. To add a
// platform, run `flutter create -t plugin --platforms <platforms> .` under the
// same directory. You can also find a detailed instruction on how to add
// platforms in the `pubspec.yaml` at
// https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms.
{{/no_platforms}}
import '{{projectName}}_platform_interface.dart';
class {{pluginDartClass}} {
Future<String?> getPlatformVersion() {
return {{pluginDartClass}}Platform.instance.getPlatformVersion();
}
}