Multi Inappwebview | Coderz Repository

multi_inappwebview

Last updated:

0 purchases

multi_inappwebview Image
multi_inappwebview Images

Free

Languages

Categories

Add to Cart

Description:

multi inappwebview

Features #
MultiInAppWebView is allow you to use multiple flutter_inappwebview instance where open a new web page link.
Getting started #
Add this to your package's pubspec.yaml file:
dependencies:
multi_inappwebview: ^0.0.2
copied to clipboard
Usage #
see /example folder.
import 'package:multi_inappwebview/multi_inappwebview.dart';


@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: MultiInAppWebView(
initialUrlRequest:
URLRequest(url: Uri.tryParse('https://mall.lookingpet.com/')),
maxNewWindow: 3,
shouldOpenNewWindow: (uri) {
if (uri.host != 'mall.lookingpet.com') {
return true;
}
return false;
},
)
),
);
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.