colendi_web_view_sdk_flutter 1.5.0 copy "colendi_web_view_sdk_flutter: ^1.5.0" to clipboard
colendi_web_view_sdk_flutter: ^1.5.0 copied to clipboard

The Colendi Web View is a Software Development Kit developed by Colendians to enable fast and simple integration to Colendi World.

example/lib/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: ColendiWebView(
        /// Set url to open ColendiWebView
        url: Uri.parse('URL_STRING'),

        /// Set isFullScreen false before loadUrl function to open ColendiWebView fullscreen.
        isFullScreen: true,

        /// Handle message from ColendiWebView
        messageCallback: (message) {
          debugPrint(message);
        },

        /// Send message to ColendiWebView
        onServiceCreated: (instance) {
          instance.sendMessage('message to ColendiWebView');
        },
      ),
    );
  }
}
7
likes
130
points
36
downloads

Publisher

verified publishercolendi.com

Weekly Downloads

The Colendi Web View is a Software Development Kit developed by Colendians to enable fast and simple integration to Colendi World.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter, flutter_inappwebview, flutter_vibrate, http, locale_plus, url_launcher

More

Packages that depend on colendi_web_view_sdk_flutter

Packages that implement colendi_web_view_sdk_flutter