aliothx_angular 0.0.4
aliothx_angular: ^0.0.4 copied to clipboard
Package for web view interaction between angular and flutter.
example/lib/main.dart
import 'package:aliothx_angular/aliothx_angular.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const Example());
}
class Example extends StatelessWidget {
const Example({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(
url: 'https://developer.aliothx.net/',
header: {'test': 'test'},
body: {'test': 'test'},
);
},
child: const Text('Webview Request'),
),
),
),
);
}
}