colendi_web_view_sdk_flutter 1.2.0
colendi_web_view_sdk_flutter: ^1.2.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.
ColendiWebViewSDK-Flutter #
The Colendi Web View Software Development Kit.
Table of Content #
Overview #
The Colendi Web View is a Software Development Kit developed by Colendians to enable fast and simple integration to Colendi World.
Requirements #
- Dart sdk: ">=2.16.2 <3.0.0"
- Flutter: ">=2.10.0"
- Android: minSdkVersion 17
- iOS 9.0+
Installation #
with Flutter:
$ flutter pub add colendi_web_view_sdk_flutter
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.1.2
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');
},
),
);
}
}
Author #
Gökberk Bardakçı, Uygar İşiçelik from Colendi
License #
ColendiWebView is available under the GNU GENERAL PUBLIC LICENSE license. See the LICENSE file for more info.