lvn_plugin_flutter 0.1.3 copy "lvn_plugin_flutter: ^0.1.3" to clipboard
lvn_plugin_flutter: ^0.1.3 copied to clipboard

Plugin for AI LuatVietnam.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:lvn_plugin_flutter/lvn_plugin_flutter.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              /// Phần 2. Hướng dẫn tạo Widget với plugin
              // SampleButton(
              //   text: "Sample Button",
              //   onPressed: () {
              //     print("Sample Button Click");
              //   },
              // ),
             Expanded(
              child:Stack(
                  children: [
                    DragButton(x: 80,y: 180,bcode: "CB0123456788",bid: 3, pid: 1),
                  ],
                )),


            //  /// Phần 4. Hướng dẫn gọi native code từ plugin
            //   FutureBuilder<String?>(
            //     future: SampleCallNativeFlutter.getToken(),
            //     builder: (_, snapshoot) {
            //       return Text('${snapshoot.data}');
            //     },
            //   ),
            ],
          ),
        ),
      ),
    );
  }
}
0
likes
140
points
193
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin for AI LuatVietnam.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_inappwebview, plugin_platform_interface, webview_flutter

More

Packages that depend on lvn_plugin_flutter