adding in elinux files

This commit is contained in:
talksik
2023-07-24 15:33:34 -07:00
parent d9e5d9bd1a
commit d589b8b61d
11 changed files with 986 additions and 16 deletions
+13
View File
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() {
runApp(const MyApp());
@@ -55,6 +56,18 @@ class MyHomePage extends StatefulWidget {
}
class _MyHomePageState extends State<MyHomePage> {
static const platform = MethodChannel('live.flowy.commz');
@override
void initState() {
super.initState();
platform.invokeMethod('sayHello').then((value) {
print("invoked sayHello from flutter frontend");
print(value);
});
}
int _counter = 0;
void _incrementCounter() {