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