adding in initial plugin code

This commit is contained in:
talksik
2023-09-10 11:38:11 -07:00
parent 9a1f7bf152
commit cfe717fd23
33 changed files with 1451 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'multimedia_platform_interface.dart';
/// An implementation of [MultimediaPlatform] that uses method channels.
class MethodChannelMultimedia extends MultimediaPlatform {
/// The method channel used to interact with the native platform.
@visibleForTesting
final methodChannel = const MethodChannel('multimedia');
@override
Future<String?> getPlatformVersion() async {
final version = await methodChannel.invokeMethod<String>('getPlatformVersion');
return version;
}
}