uihub_basic_inappwebview2
Usage
-
To add UI to your project, enter the following command in the terminal at the root of your flutter project:
npm install -g uihub-cli@latest uihub get uihub_basic_inappwebview2 dart pub add after_layout dart pub add flutter_inappwebview dart pub add gap dart pub add share_plus dart pub add styled_widget
-
if build on web, add this line in
web/index.html
inside the<head>
tag.<script type="application/javascript" src="/assets/packages/flutter_inappwebview_web/assets/web/web_support.js" defer></script>
-
run the following command to run the UI:
flutter run -d chrome lib/uihub/uihub_basic_inappwebview2/main.dart