dart_web_plugin_base 0.0.2 copy "dart_web_plugin_base: ^0.0.2" to clipboard
dart_web_plugin_base: ^0.0.2 copied to clipboard

Platformweb

Dart web plugin base - Make calls from dart to js and vice-versa.

example/lib/main.dart

import 'package:dart_web_plugin_base_example/dart_web_plugin_base_app.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const DartWebPluginDemoApp());
}

class DartWebPluginDemoApp extends StatelessWidget {
  const DartWebPluginDemoApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'DartWebPluginDemo Example',
      home: Scaffold(
        backgroundColor: Color.fromRGBO(22, 27, 34, 1),
        body: Center(
          child: DartWebPluginBaseAppHomePage(
            title: 'Dart web plugin base - Make calls from flutter to js',
          ),
        ),
      ),
    );
  }
}
1
likes
130
points
109
downloads

Publisher

unverified uploader

Weekly Downloads

Dart web plugin base - Make calls from dart to js and vice-versa.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, js, plugin_platform_interface, universal_html

More

Packages that depend on dart_web_plugin_base