aliothx_angular 0.0.1 copy "aliothx_angular: ^0.0.1" to clipboard
aliothx_angular: ^0.0.1 copied to clipboard

outdated

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: 'http://api.aliothx.net/restful/webview/request',
                header: {'command': '1000', 'version': '1.0', 'language': 'kr'},
                body: {
                  'package_name': 'com.dubhesoft.aliothv2',
                  'running_mode': 'DEV',
                  'webview_type': 'angular',
                  'random_id': ''
                },
              );
            },
            child: const Text('Webview Request'),
          ),
        ),
      ),
    );
  }
}
0
likes
0
points
55
downloads

Publisher

unverified uploader

Weekly Downloads

Package for web view interaction between angular and flutter.

Homepage

License

unknown (license)

Dependencies

dio, flutter

More

Packages that depend on aliothx_angular