aliothx_vue 0.0.3 aliothx_vue: ^0.0.3 copied to clipboard
Package for web view interaction between vue and flutter.
import 'package:aliothx_vue/main.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: ElevatedButton(
onPressed: () {
AliothxWebviewRequest()
.request(api: 'https://developer.aliothx.net/', header: {
'test': 'test'
}, body: {
"Header": {'test': 'test'},
"Body": {'test': 'test'},
}, option: {
'test': 'test'
});
},
child: const Text('Webview Request'),
),
),
),
);
}
}