This commit is contained in:
ekibun
2020-09-13 22:50:14 +08:00
parent 89ea0222be
commit 60466a5c7d
11 changed files with 146 additions and 10 deletions

View File

@@ -3,7 +3,7 @@
* @Author: ekibun
* @Date: 2020-08-08 08:16:51
* @LastEditors: ekibun
* @LastEditTime: 2020-08-27 20:39:32
* @LastEditTime: 2020-09-06 19:44:32
*/
import 'package:flutter/material.dart';
import 'dart:typed_data';
@@ -46,13 +46,13 @@ class TestPage extends StatefulWidget {
class _TestPageState extends State<TestPage> {
String resp;
FlutterJs engine;
FlutterQjs engine;
CodeInputController _controller = CodeInputController();
_createEngine() async {
if (engine != null) return;
engine = FlutterJs();
engine = FlutterQjs();
await engine.setMethodHandler((String method, List arg) async {
switch (method) {
case "http":