基础组件库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

zhiying_base_widget.dart 336 B

4 years ago
12345678910111213
  1. import 'dart:async';
  2. import 'package:flutter/services.dart';
  3. class ZhiyingBaseWidget {
  4. static const MethodChannel _channel =
  5. const MethodChannel('zhiying_base_widget');
  6. static Future<String> get platformVersion async {
  7. final String version = await _channel.invokeMethod('getPlatformVersion');
  8. return version;
  9. }
  10. }