pub package

uihub_basic_inappwebview2

UI Hub

Usage

  1. 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
    
  2. 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>
    
  3. run the following command to run the UI:

    flutter run -d chrome lib/uihub/uihub_basic_inappwebview2/main.dart