基础组件库
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
336 B

  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. }