0 purchases
colendi web view sdk flutter
ColendiWebViewSDK-Flutter #
The Colendi Web View Software Development Kit.
Table of Content #
Overview
Requirements
Installation
Integration
Author
LICENSE
Overview #
The Colendi Web View is a Software Development Kit developed by Colendians to enable fast and simple integration to Colendi World.
Requirements #
Dart: ">=3.1.0 <4.0.0"
Flutter: ">=3.13.0"
Android: minSdkVersion 19
iOS 11.0+
Installation #
with Flutter:
$ flutter pub add colendi_web_view_sdk_flutter
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
colendi_web_view_sdk_flutter: ^1.5.0
copied to clipboard
Integration #
class MyWidget extends StatelessWidget {
const MyWidget({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');
},
),
);
}
}
copied to clipboard
Author #
Colendi
License #
ColendiWebView is available under the GNU GENERAL PUBLIC LICENSE license. See the LICENSE file for more info.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.