add veilid flutter plugin skeleton

This commit is contained in:
John Smith
2022-01-16 11:19:01 -05:00
parent 268e280914
commit 7877be5edd
156 changed files with 5105 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import 'dart:async';
import 'package:flutter/services.dart';
class Veilid {
static const MethodChannel _channel = MethodChannel('veilid');
static Future<String?> get platformVersion async {
final String? version = await _channel.invokeMethod('getPlatformVersion');
return version;
}
}