mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
12 lines
278 B
Cheetah
12 lines
278 B
Cheetah
import 'dart:async';
|
|
|
|
import 'package:flutter/services.dart';
|
|
|
|
class {{pluginDartClass}} {
|
|
static const MethodChannel _channel =
|
|
const MethodChannel('{{projectName}}');
|
|
|
|
static Future<String> get platformVersion =>
|
|
_channel.invokeMethod('getPlatformVersion');
|
|
}
|