Init
This commit is contained in:
13
native_opencv/lib/native_opencv.dart
Normal file
13
native_opencv/lib/native_opencv.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
import 'dart:async';
|
||||
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
class NativeOpencv {
|
||||
static const MethodChannel _channel =
|
||||
const MethodChannel('native_opencv');
|
||||
|
||||
static Future<String> get platformVersion async {
|
||||
final String version = await _channel.invokeMethod('getPlatformVersion');
|
||||
return version;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user