├── imgs
├── flutter_02.png
├── flutter_01.png
└── youtube_banner.png
├── CONTRIBUTING.md
├── ios
├── Runner
│ ├── Runner-Bridging-Header.h
│ ├── Assets.xcassets
│ │ ├── LaunchImage.imageset
│ │ │ ├── LaunchImage.png
│ │ │ ├── LaunchImage@2x.png
│ │ │ ├── LaunchImage@3x.png
│ │ │ ├── README.md
│ │ │ └── Contents.json
│ │ └── AppIcon.appiconset
│ │ │ ├── Icon-App-20x20@1x.png
│ │ │ ├── Icon-App-20x20@2x.png
│ │ │ ├── Icon-App-20x20@3x.png
│ │ │ ├── Icon-App-29x29@1x.png
│ │ │ ├── Icon-App-29x29@2x.png
│ │ │ ├── Icon-App-29x29@3x.png
│ │ │ ├── Icon-App-40x40@1x.png
│ │ │ ├── Icon-App-40x40@2x.png
│ │ │ ├── Icon-App-40x40@3x.png
│ │ │ ├── Icon-App-60x60@2x.png
│ │ │ ├── Icon-App-60x60@3x.png
│ │ │ ├── Icon-App-76x76@1x.png
│ │ │ ├── Icon-App-76x76@2x.png
│ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ ├── Icon-App-83.5x83.5@2x.png
│ │ │ └── Contents.json
│ ├── AppDelegate.swift
│ ├── Base.lproj
│ │ ├── Main.storyboard
│ │ └── LaunchScreen.storyboard
│ └── Info.plist
├── Flutter
│ ├── Debug.xcconfig
│ ├── Release.xcconfig
│ └── AppFrameworkInfo.plist
├── Runner.xcodeproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ ├── WorkspaceSettings.xcsettings
│ │ │ └── IDEWorkspaceChecks.plist
│ ├── xcshareddata
│ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ └── project.pbxproj
├── Runner.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ ├── WorkspaceSettings.xcsettings
│ │ └── IDEWorkspaceChecks.plist
├── .gitignore
├── Podfile
└── Podfile.lock
├── web
├── favicon.png
├── icons
│ ├── Icon-192.png
│ ├── Icon-512.png
│ ├── Icon-maskable-192.png
│ └── Icon-maskable-512.png
├── manifest.json
└── index.html
├── android
├── gradle.properties
├── app
│ ├── src
│ │ ├── main
│ │ │ ├── res
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ └── ic_launcher.png
│ │ │ │ ├── drawable
│ │ │ │ │ └── launch_background.xml
│ │ │ │ ├── drawable-v21
│ │ │ │ │ └── launch_background.xml
│ │ │ │ ├── values
│ │ │ │ │ └── styles.xml
│ │ │ │ └── values-night
│ │ │ │ │ └── styles.xml
│ │ │ ├── kotlin
│ │ │ │ └── com
│ │ │ │ │ └── techwithsam
│ │ │ │ │ └── flutter_webview
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── AndroidManifest.xml
│ │ ├── debug
│ │ │ └── AndroidManifest.xml
│ │ └── profile
│ │ │ └── AndroidManifest.xml
│ └── build.gradle
├── gradle
│ └── wrapper
│ │ └── gradle-wrapper.properties
├── .gitignore
├── settings.gradle
└── build.gradle
├── .metadata
├── lib
├── webview
│ ├── example4.dart
│ ├── example3.dart
│ ├── example5.dart
│ ├── example1.dart
│ └── example2.dart
├── check_internet.dart
├── main.dart
└── homepage.dart
├── .gitignore
├── .github
└── ISSUE_TEMPLATE
│ └── bug_report.md
├── LICENSE
├── test
└── widget_test.dart
├── analysis_options.yaml
├── README.md
├── pubspec.yaml
├── CODE_OF_CONDUCT.md
└── pubspec.lock
/imgs/flutter_02.png:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | New features
2 |
--------------------------------------------------------------------------------
/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
2 |
--------------------------------------------------------------------------------
/web/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/web/favicon.png
--------------------------------------------------------------------------------
/imgs/flutter_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/imgs/flutter_01.png
--------------------------------------------------------------------------------
/web/icons/Icon-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/web/icons/Icon-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/web/icons/Icon-512.png
--------------------------------------------------------------------------------
/imgs/youtube_banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/imgs/youtube_banner.png
--------------------------------------------------------------------------------
/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.useAndroidX=true
3 | android.enableJetifier=true
4 |
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/web/icons/Icon-maskable-192.png
--------------------------------------------------------------------------------
/web/icons/Icon-maskable-512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/web/icons/Icon-maskable-512.png
--------------------------------------------------------------------------------
/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/techwithsam/flutter_webview/HEAD/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/main/kotlin/com/techwithsam/flutter_webview/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.techwithsam.flutter_webview
2 |
3 | import io.flutter.embedding.android.FlutterActivity
4 |
5 | class MainActivity: FlutterActivity() {
6 | }
7 |
--------------------------------------------------------------------------------
/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
7 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
9 | # Remember to never publicly share your keystore.
10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11 | key.properties
12 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | PreviewsEnabled
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: b0a22998593fc605c723dee8ff4d9315c32cfe2c
8 | channel: beta
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/lib/webview/example4.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_inappwebview/flutter_inappwebview.dart';
2 |
3 | class WebExampleFour extends ChromeSafariBrowser {
4 | @override
5 | void onOpened() {
6 | print("ChromeSafari browser opened");
7 | }
8 |
9 | @override
10 | void onCompletedInitialLoad(d) {
11 | print("ChromeSafari browser initial load completed");
12 | }
13 |
14 | @override
15 | void onClosed() {
16 | print("ChromeSafari browser closed");
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/lib/check_internet.dart:
--------------------------------------------------------------------------------
1 | import 'package:connectivity_plus/connectivity_plus.dart';
2 |
3 | class CheckInternet {
4 | Future checkInternetConnection() async {
5 | var result = await Connectivity().checkConnectivity();
6 | if (result == ConnectivityResult.none) {
7 | return 0;
8 | } else if (result == ConnectivityResult.mobile) {
9 | return 1;
10 | } else if (result == ConnectivityResult.wifi) {
11 | return 1;
12 | } else {
13 | return 0;
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
4 | def properties = new Properties()
5 |
6 | assert localPropertiesFile.exists()
7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
8 |
9 | def flutterSdkPath = properties.getProperty("flutter.sdk")
10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
12 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/android/app/src/main/res/drawable-v21/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/web/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "flutter_webview",
3 | "short_name": "flutter_webview",
4 | "start_url": ".",
5 | "display": "standalone",
6 | "background_color": "#0175C2",
7 | "theme_color": "#0175C2",
8 | "description": "A new Flutter project.",
9 | "orientation": "portrait-primary",
10 | "prefer_related_applications": false,
11 | "icons": [
12 | {
13 | "src": "icons/Icon-192.png",
14 | "sizes": "192x192",
15 | "type": "image/png"
16 | },
17 | {
18 | "src": "icons/Icon-512.png",
19 | "sizes": "512x512",
20 | "type": "image/png"
21 | }
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------
/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.5.20'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:4.1.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/lib/webview/example3.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter_inappwebview/flutter_inappwebview.dart';
2 |
3 | class WebExampleThree extends InAppBrowser {
4 | @override
5 | Future onBrowserCreated() async {
6 | print("Browser Created!");
7 | }
8 |
9 | @override
10 | Future onLoadStart(url) async {
11 | print("Started $url");
12 | }
13 |
14 | @override
15 | Future onLoadStop(url) async {
16 | print("Stopped $url");
17 | }
18 |
19 | @override
20 | void onLoadError(url, code, message) {
21 | print("Can't load $url.. Error: $message");
22 | }
23 |
24 | @override
25 | void onProgressChanged(progress) {
26 | print("Progress: $progress");
27 | }
28 |
29 | @override
30 | void onExit() {
31 | print("Browser closed!");
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | **/ios/Flutter/.last_build_id
26 | .dart_tool/
27 | .flutter-plugins
28 | .flutter-plugins-dependencies
29 | .packages
30 | .pub-cache/
31 | .pub/
32 | /build/
33 |
34 | # Web related
35 | lib/generated_plugin_registrant.dart
36 |
37 | # Symbolication related
38 | app.*.symbols
39 |
40 | # Obfuscation related
41 | app.*.map.json
42 |
43 | # Android Studio will place build artifacts here
44 | /android/app/debug
45 | /android/app/profile
46 | /android/app/release
47 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ''
5 | labels: ''
6 | assignees: ''
7 |
8 | ---
9 |
10 | **Describe the bug**
11 | A clear and concise description of what the bug is.
12 |
13 | **To Reproduce**
14 | Steps to reproduce the behavior:
15 | 1. Go to '...'
16 | 2. Click on '....'
17 | 3. Scroll down to '....'
18 | 4. See error
19 |
20 | **Expected behavior**
21 | A clear and concise description of what you expected to happen.
22 |
23 | **Screenshots**
24 | If applicable, add screenshots to help explain your problem.
25 |
26 | **Desktop (please complete the following information):**
27 | - OS: [e.g. iOS]
28 | - Browser [e.g. chrome, safari]
29 | - Version [e.g. 22]
30 |
31 | **Smartphone (please complete the following information):**
32 | - Device: [e.g. iPhone6]
33 | - OS: [e.g. iOS8.1]
34 | - Browser [e.g. stock browser, safari]
35 | - Version [e.g. 22]
36 |
37 | **Additional context**
38 | Add any other context about the problem here.
39 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/android/app/src/main/res/values-night/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 Samuel Adekunle
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | //
3 | // To perform an interaction with a widget in your test, use the WidgetTester
4 | // utility that Flutter provides. For example, you can send tap and scroll
5 | // gestures. You can also use WidgetTester to find child widgets in the widget
6 | // tree, read text, and verify that the values of widget properties are correct.
7 |
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter_test/flutter_test.dart';
10 |
11 | import 'package:full_webview/main.dart';
12 |
13 | void main() {
14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(MyApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------
/lib/main.dart:
--------------------------------------------------------------------------------
1 | // Developer: Samuel Adekunle
2 | // YouTube Tutorial: https://youtube.com/playlist?list=PLMfrNHAjWCoB6roLO1soz6RMc5BdnU9pk
3 | // Join the community on Discord: https://discord.com/invite/NytgTkyw3R
4 | // Let's connect on Twitter: https://twitter.com/techwithsam_
5 |
6 | import 'dart:io';
7 | import 'package:flutter/material.dart';
8 | import 'package:flutter_downloader/flutter_downloader.dart';
9 | import 'package:flutter_inappwebview/flutter_inappwebview.dart';
10 | import 'package:permission_handler/permission_handler.dart';
11 | import 'homepage.dart';
12 |
13 | Future main() async {
14 | WidgetsFlutterBinding.ensureInitialized();
15 |
16 | if (Platform.isAndroid) {
17 | await AndroidInAppWebViewController.setWebContentsDebuggingEnabled(true);
18 | }
19 | await FlutterDownloader.initialize(debug: true);
20 | // set true to enable printing logs to console
21 | await Permission.storage.request();
22 | await Permission.mediaLibrary.request();
23 | // ask for storage permission on app create
24 |
25 | runApp(MyApp());
26 | }
27 |
28 | class MyApp extends StatelessWidget {
29 | @override
30 | Widget build(BuildContext context) {
31 | return MaterialApp(
32 | title: 'TechWithSam - Flutter Webview Tutorial',
33 | theme: ThemeData(
34 | primarySwatch: Colors.blue, visualDensity: VisualDensity.standard),
35 | debugShowCheckedModeBanner: false,
36 | home: HomePage(),
37 | );
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/lib/webview/example5.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:webview_flutter/webview_flutter.dart';
3 |
4 | class WebExampleFive extends StatefulWidget {
5 | final String url;
6 | WebExampleFive({required this.url});
7 |
8 | @override
9 | WebExampleFiveState createState() => WebExampleFiveState();
10 | }
11 |
12 | class WebExampleFiveState extends State {
13 | late WebViewController controller;
14 |
15 | @override
16 | void initState() {
17 | super.initState();
18 |
19 | controller = WebViewController()
20 | ..setJavaScriptMode(JavaScriptMode.unrestricted)
21 | ..setNavigationDelegate(
22 | NavigationDelegate(
23 | onProgress: (int progress) {
24 | // Update loading bar.
25 | },
26 | onPageStarted: (String url) {},
27 | onPageFinished: (String url) {},
28 | onHttpError: (HttpResponseError error) {},
29 | onWebResourceError: (WebResourceError error) {},
30 | onNavigationRequest: (NavigationRequest request) {
31 | if (request.url.startsWith(widget.url)) {
32 | return NavigationDecision.prevent;
33 | }
34 | return NavigationDecision.navigate;
35 | },
36 | ),
37 | )
38 | ..loadRequest(Uri.parse(widget.url));
39 | }
40 |
41 | @override
42 | Widget build(BuildContext context) {
43 | return SafeArea(
44 | child: WebViewWidget(controller: controller),
45 | );
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/analysis_options.yaml:
--------------------------------------------------------------------------------
1 | # This file configures the analyzer, which statically analyzes Dart code to
2 | # check for errors, warnings, and lints.
3 | #
4 | # The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5 | # IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6 | # invoked from the command line by running `flutter analyze`.
7 |
8 | # The following line activates a set of recommended lints for Flutter apps,
9 | # packages, and plugins designed to encourage good coding practices.
10 | include: package:flutter_lints/flutter.yaml
11 |
12 | linter:
13 | # The lint rules applied to this project can be customized in the
14 | # section below to disable rules from the `package:flutter_lints/flutter.yaml`
15 | # included above or to enable additional rules. A list of all available lints
16 | # and their documentation is published at
17 | # https://dart-lang.github.io/linter/lints/index.html.
18 | #
19 | # Instead of disabling a lint rule for the entire project in the
20 | # section below, it can also be suppressed for a single line of code
21 | # or a specific dart file by using the `// ignore: name_of_lint` and
22 | # `// ignore_for_file: name_of_lint` syntax on the line or in the file
23 | # producing the lint.
24 | rules:
25 | # avoid_print: false # Uncomment to disable the `avoid_print` rule
26 | # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27 |
28 | # Additional information about this file can be found at
29 | # https://dart.dev/guides/language/analysis-options
30 |
--------------------------------------------------------------------------------
/ios/Podfile:
--------------------------------------------------------------------------------
1 | # Uncomment this line to define a global platform for your project
2 | $FirebaseSDKVersion = '7.11.0'
3 | platform :ios, '12.1'
4 |
5 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency.
6 | ENV['COCOAPODS_DISABLE_STATS'] = 'true'
7 |
8 | project 'Runner', {
9 | 'Debug' => :debug,
10 | 'Profile' => :release,
11 | 'Release' => :release,
12 | }
13 |
14 | def flutter_root
15 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
16 | unless File.exist?(generated_xcode_build_settings_path)
17 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
18 | end
19 |
20 | File.foreach(generated_xcode_build_settings_path) do |line|
21 | matches = line.match(/FLUTTER_ROOT\=(.*)/)
22 | return matches[1].strip if matches
23 | end
24 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
25 | end
26 |
27 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
28 |
29 | flutter_ios_podfile_setup
30 |
31 | target 'Runner' do
32 | use_frameworks!
33 | use_modular_headers!
34 |
35 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
36 | end
37 |
38 | post_install do |installer|
39 | installer.pods_project.targets.each do |target|
40 | flutter_additional_ios_build_settings(target)
41 | # config.build_settings['SWIFT_VERSION'] = '5.0' # required by simple_permission
42 | # config.build_settings['ENABLE_BITCODE'] = 'NO'
43 | end
44 | end
45 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/lib/webview/example1.dart:
--------------------------------------------------------------------------------
1 | // import 'package:flutter/material.dart';
2 | // import 'package:flutter_webview_plugin/flutter_webview_plugin.dart';
3 |
4 | // class WebExampleOne extends StatefulWidget {
5 | // WebExampleOne({Key? key}) : super(key: key);
6 |
7 | // @override
8 | // _WebExampleOneState createState() => _WebExampleOneState();
9 | // }
10 |
11 | // class _WebExampleOneState extends State {
12 | // final _flutterwebview = FlutterWebviewPlugin();
13 | // @override
14 | // Widget build(BuildContext context) {
15 | // return WebviewScaffold(
16 | // url: 'https://obounce.net',
17 | // appBar: AppBar(
18 | // title: Text("O'Bounce Technologies"),
19 | // centerTitle: true,
20 | // elevation: 0,
21 | // ),
22 | // withZoom: true,
23 | // withLocalStorage: true,
24 | // scrollBar: true,
25 | // withJavascript: true,
26 | // initialChild: Center(child: Text('Loading...')),
27 | // bottomNavigationBar: Padding(
28 | // padding: EdgeInsets.all(12),
29 | // child: Text('This is the bottomNavigationBar on a webview page.'),
30 | // ),
31 | // persistentFooterButtons: [
32 | // CircleAvatar(
33 | // backgroundColor: Colors.purple,
34 | // child: Text('btn1'),
35 | // ),
36 | // CircleAvatar(
37 | // backgroundColor: Colors.orange,
38 | // child: Text('btn2'),
39 | // ),
40 | // CircleAvatar(
41 | // backgroundColor: Colors.red,
42 | // child: Text('btn3'),
43 | // ),
44 | // CircleAvatar(
45 | // backgroundColor: Colors.grey[700],
46 | // child: Text('btn4'),
47 | // ),
48 | // ],
49 | // );
50 | // }
51 |
52 | // @override
53 | // void dispose() {
54 | // _flutterwebview.dispose();
55 | // super.dispose();
56 | // }
57 | // }
58 |
--------------------------------------------------------------------------------
/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 30
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | defaultConfig {
36 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
37 | applicationId "com.techwithsam.flutter_webview"
38 | minSdkVersion 21
39 | targetSdkVersion 30
40 | versionCode flutterVersionCode.toInteger()
41 | versionName flutterVersionName
42 | }
43 |
44 | buildTypes {
45 | release {
46 | // TODO: Add your own signing config for the release build.
47 | // Signing with the debug keys for now, so `flutter run --release` works.
48 | signingConfig signingConfigs.debug
49 | }
50 | }
51 | }
52 |
53 | flutter {
54 | source '../..'
55 | }
56 |
57 | dependencies {
58 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
59 | }
60 |
--------------------------------------------------------------------------------
/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | full_webview
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | LSApplicationQueriesSchemes
26 |
27 | https
28 | http
29 |
30 | NSAppTransportSecurity
31 |
32 | NSAllowsArbitraryLoads
33 |
34 | NSAppTransportSecurity
35 |
36 | NSExceptionDomains
37 |
38 | www.github.com
39 |
40 | NSIncludesSubdomains
41 |
42 | NSTemporaryExceptionAllowsInsecureHTTPLoads
43 |
44 | NSTemporaryExceptionMinimumTLSVersion
45 | TLSv1.1
46 |
47 |
48 |
49 | UILaunchStoryboardName
50 | LaunchScreen
51 | UIMainStoryboardFile
52 | Main
53 | UISupportedInterfaceOrientations
54 |
55 | UIInterfaceOrientationPortrait
56 | UIInterfaceOrientationLandscapeLeft
57 | UIInterfaceOrientationLandscapeRight
58 |
59 | UISupportedInterfaceOrientations~ipad
60 |
61 | UIInterfaceOrientationPortrait
62 | UIInterfaceOrientationPortraitUpsideDown
63 | UIInterfaceOrientationLandscapeLeft
64 | UIInterfaceOrientationLandscapeRight
65 |
66 | UIViewControllerBasedStatusBarAppearance
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Flutter Webview | Tech With Sam
2 |
3 | [](https://youtube.com/techwithsam)
4 | [](https://twitter.com/techwithsam_)
5 | [](https://github.com/techwithsam/flutter_webview)
6 | [](https://github.com/techwithsam)
7 |
8 |
9 |
10 |
11 | Flutter Webview Tutorial - [Watch on youtube](https://youtube.com/playlist?list=PLMfrNHAjWCoB6roLO1soz6RMc5BdnU9pk)
12 |
13 | ---------------------------
14 |
15 | ### ✌ App Preview
16 |
17 | | App Screenshot | App Screenshot |
18 | | :----------------------------------: | :----------------------------------: |
19 | |
|
|
20 |
21 |
25 |
26 |
27 | A new Flutter project.
28 |
29 | ## Getting Started
30 |
31 | This project is a starting point for a Flutter application.
32 |
33 | A few resources to get you started if this is your first Flutter project:
34 |
35 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
36 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
37 |
38 | For help getting started with Flutter, view our
39 | [online documentation](https://flutter.dev/docs), which offers tutorials,
40 | samples, guidance on mobile development, and a full API reference.
41 | "# flutter_webview"
42 |
--------------------------------------------------------------------------------
/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - connectivity (0.0.1):
3 | - Flutter
4 | - Reachability
5 | - Flutter (1.0.0)
6 | - flutter_downloader (0.0.1):
7 | - Flutter
8 | - flutter_inappwebview (0.0.1):
9 | - Flutter
10 | - flutter_inappwebview/Core (= 0.0.1)
11 | - OrderedSet (~> 5.0)
12 | - flutter_inappwebview/Core (0.0.1):
13 | - Flutter
14 | - OrderedSet (~> 5.0)
15 | - integration_test (0.0.1):
16 | - Flutter
17 | - OrderedSet (5.0.0)
18 | - path_provider (0.0.1):
19 | - Flutter
20 | - "permission_handler (5.1.0+2)":
21 | - Flutter
22 | - Reachability (3.2)
23 | - url_launcher (0.0.1):
24 | - Flutter
25 | - webview_flutter (0.0.1):
26 | - Flutter
27 |
28 | DEPENDENCIES:
29 | - connectivity (from `.symlinks/plugins/connectivity/ios`)
30 | - Flutter (from `Flutter`)
31 | - flutter_downloader (from `.symlinks/plugins/flutter_downloader/ios`)
32 | - flutter_inappwebview (from `.symlinks/plugins/flutter_inappwebview/ios`)
33 | - integration_test (from `.symlinks/plugins/integration_test/ios`)
34 | - path_provider (from `.symlinks/plugins/path_provider/ios`)
35 | - permission_handler (from `.symlinks/plugins/permission_handler/ios`)
36 | - url_launcher (from `.symlinks/plugins/url_launcher/ios`)
37 | - webview_flutter (from `.symlinks/plugins/webview_flutter/ios`)
38 |
39 | SPEC REPOS:
40 | trunk:
41 | - OrderedSet
42 | - Reachability
43 |
44 | EXTERNAL SOURCES:
45 | connectivity:
46 | :path: ".symlinks/plugins/connectivity/ios"
47 | Flutter:
48 | :path: Flutter
49 | flutter_downloader:
50 | :path: ".symlinks/plugins/flutter_downloader/ios"
51 | flutter_inappwebview:
52 | :path: ".symlinks/plugins/flutter_inappwebview/ios"
53 | integration_test:
54 | :path: ".symlinks/plugins/integration_test/ios"
55 | path_provider:
56 | :path: ".symlinks/plugins/path_provider/ios"
57 | permission_handler:
58 | :path: ".symlinks/plugins/permission_handler/ios"
59 | url_launcher:
60 | :path: ".symlinks/plugins/url_launcher/ios"
61 | webview_flutter:
62 | :path: ".symlinks/plugins/webview_flutter/ios"
63 |
64 | SPEC CHECKSUMS:
65 | connectivity: c4130b2985d4ef6fd26f9702e886bd5260681467
66 | Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
67 | flutter_downloader: 058b9c41564a90500f67f3e432e3524613a7fd83
68 | flutter_inappwebview: bfd58618f49dc62f2676de690fc6dcda1d6c3721
69 | integration_test: 6eb66a19f7104200dcfdd62bc0077e1b09686e4f
70 | OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c
71 | path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
72 | permission_handler: ccb20a9fad0ee9b1314a52b70b76b473c5f8dab0
73 | Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
74 | url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef
75 | webview_flutter: 9f491a9b5a66f2573946a389b2677987b0ff8c0b
76 |
77 | PODFILE CHECKSUM: c5406677ca913e84b27291cdda0fc4124b8cf008
78 |
79 | COCOAPODS: 1.10.1
80 |
--------------------------------------------------------------------------------
/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "Icon-App-20x20@2x.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "Icon-App-20x20@3x.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "Icon-App-29x29@1x.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "Icon-App-29x29@2x.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "Icon-App-29x29@3x.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "Icon-App-40x40@2x.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "Icon-App-40x40@3x.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "60x60",
47 | "idiom" : "iphone",
48 | "filename" : "Icon-App-60x60@2x.png",
49 | "scale" : "2x"
50 | },
51 | {
52 | "size" : "60x60",
53 | "idiom" : "iphone",
54 | "filename" : "Icon-App-60x60@3x.png",
55 | "scale" : "3x"
56 | },
57 | {
58 | "size" : "20x20",
59 | "idiom" : "ipad",
60 | "filename" : "Icon-App-20x20@1x.png",
61 | "scale" : "1x"
62 | },
63 | {
64 | "size" : "20x20",
65 | "idiom" : "ipad",
66 | "filename" : "Icon-App-20x20@2x.png",
67 | "scale" : "2x"
68 | },
69 | {
70 | "size" : "29x29",
71 | "idiom" : "ipad",
72 | "filename" : "Icon-App-29x29@1x.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "29x29",
77 | "idiom" : "ipad",
78 | "filename" : "Icon-App-29x29@2x.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "40x40",
83 | "idiom" : "ipad",
84 | "filename" : "Icon-App-40x40@1x.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "40x40",
89 | "idiom" : "ipad",
90 | "filename" : "Icon-App-40x40@2x.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "76x76",
95 | "idiom" : "ipad",
96 | "filename" : "Icon-App-76x76@1x.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "76x76",
101 | "idiom" : "ipad",
102 | "filename" : "Icon-App-76x76@2x.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "83.5x83.5",
107 | "idiom" : "ipad",
108 | "filename" : "Icon-App-83.5x83.5@2x.png",
109 | "scale" : "2x"
110 | },
111 | {
112 | "size" : "1024x1024",
113 | "idiom" : "ios-marketing",
114 | "filename" : "Icon-App-1024x1024@1x.png",
115 | "scale" : "1x"
116 | }
117 | ],
118 | "info" : {
119 | "version" : 1,
120 | "author" : "xcode"
121 | }
122 | }
123 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: full_webview
2 | description: A new Flutter project.
3 |
4 | # The following line prevents the package from being accidentally published to
5 | # pub.dev using `pub publish`. This is preferred for private packages.
6 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev
7 |
8 | # The following defines the version and build number for your application.
9 | # A version number is three numbers separated by dots, like 1.2.43
10 | # followed by an optional build number separated by a +.
11 | # Both the version and the builder number may be overridden in flutter
12 | # build by specifying --build-name and --build-number, respectively.
13 | # In Android, build-name is used as versionName while build-number used as versionCode.
14 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning
15 | # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16 | # Read more about iOS versioning at
17 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18 | version: 1.0.0+1
19 |
20 | environment:
21 | sdk: ^3.5.3
22 |
23 | dependencies:
24 | flutter:
25 | sdk: flutter
26 |
27 |
28 | # The following adds the Cupertino Icons font to your application.
29 | # Use with the CupertinoIcons class for iOS style icons.
30 | cupertino_icons: ^1.0.8
31 | flutter_inappwebview: ^6.1.5
32 | webview_flutter: ^4.10.0
33 | connectivity_plus: ^6.1.4
34 | url_launcher: ^6.3.0
35 | flutter_downloader: ^1.11.4
36 | permission_handler: ^12.0.1
37 | path_provider: ^2.1.5
38 |
39 | dev_dependencies:
40 | flutter_test:
41 | sdk: flutter
42 | integration_test:
43 | sdk: flutter
44 |
45 | # For information on the generic Dart part of this file, see the
46 | # following page: https://dart.dev/tools/pub/pubspec
47 |
48 | # The following section is specific to Flutter.
49 | flutter:
50 |
51 | # The following line ensures that the Material Icons font is
52 | # included with your application, so that you can use the icons in
53 | # the material Icons class.
54 | uses-material-design: true
55 |
56 | # To add assets to your application, add an assets section, like this:
57 | # assets:
58 | # - images/a_dot_burr.jpeg
59 | # - images/a_dot_ham.jpeg
60 |
61 | # An image asset can refer to one or more resolution-specific "variants", see
62 | # https://flutter.dev/assets-and-images/#resolution-aware.
63 |
64 | # For details regarding adding assets from package dependencies, see
65 | # https://flutter.dev/assets-and-images/#from-packages
66 |
67 | # To add custom fonts to your application, add a fonts section here,
68 | # in this "flutter" section. Each entry in this list should have a
69 | # "family" key with the font family name, and a "fonts" key with a
70 | # list giving the asset and other descriptors for the font. For
71 | # example:
72 | # fonts:
73 | # - family: Schyler
74 | # fonts:
75 | # - asset: fonts/Schyler-Regular.ttf
76 | # - asset: fonts/Schyler-Italic.ttf
77 | # style: italic
78 | # - family: Trajan Pro
79 | # fonts:
80 | # - asset: fonts/TrajanPro.ttf
81 | # - asset: fonts/TrajanPro_Bold.ttf
82 | # weight: 700
83 | #
84 | # For details regarding fonts from package dependencies,
85 | # see https://flutter.dev/custom-fonts/#from-packages
86 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
39 |
40 |
41 |
42 |
43 |
44 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
67 |
73 |
75 |
81 |
82 |
83 |
84 |
86 |
87 |
90 |
91 |
92 |
--------------------------------------------------------------------------------
/web/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | flutter_webview
27 |
28 |
29 |
30 |
33 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | We as members, contributors, and leaders pledge to make participation in our
6 | community a harassment-free experience for everyone, regardless of age, body
7 | size, visible or invisible disability, ethnicity, sex characteristics, gender
8 | identity and expression, level of experience, education, socio-economic status,
9 | nationality, personal appearance, race, religion, or sexual identity
10 | and orientation.
11 |
12 | We pledge to act and interact in ways that contribute to an open, welcoming,
13 | diverse, inclusive, and healthy community.
14 |
15 | ## Our Standards
16 |
17 | Examples of behavior that contributes to a positive environment for our
18 | community include:
19 |
20 | * Demonstrating empathy and kindness toward other people
21 | * Being respectful of differing opinions, viewpoints, and experiences
22 | * Giving and gracefully accepting constructive feedback
23 | * Accepting responsibility and apologizing to those affected by our mistakes,
24 | and learning from the experience
25 | * Focusing on what is best not just for us as individuals, but for the
26 | overall community
27 |
28 | Examples of unacceptable behavior include:
29 |
30 | * The use of sexualized language or imagery, and sexual attention or
31 | advances of any kind
32 | * Trolling, insulting or derogatory comments, and personal or political attacks
33 | * Public or private harassment
34 | * Publishing others' private information, such as a physical or email
35 | address, without their explicit permission
36 | * Other conduct which could reasonably be considered inappropriate in a
37 | professional setting
38 |
39 | ## Enforcement Responsibilities
40 |
41 | Community leaders are responsible for clarifying and enforcing our standards of
42 | acceptable behavior and will take appropriate and fair corrective action in
43 | response to any behavior that they deem inappropriate, threatening, offensive,
44 | or harmful.
45 |
46 | Community leaders have the right and responsibility to remove, edit, or reject
47 | comments, commits, code, wiki edits, issues, and other contributions that are
48 | not aligned to this Code of Conduct, and will communicate reasons for moderation
49 | decisions when appropriate.
50 |
51 | ## Scope
52 |
53 | This Code of Conduct applies within all community spaces, and also applies when
54 | an individual is officially representing the community in public spaces.
55 | Examples of representing our community include using an official e-mail address,
56 | posting via an official social media account, or acting as an appointed
57 | representative at an online or offline event.
58 |
59 | ## Enforcement
60 |
61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
62 | reported to the community leaders responsible for enforcement at
63 | email.
64 | All complaints will be reviewed and investigated promptly and fairly.
65 |
66 | All community leaders are obligated to respect the privacy and security of the
67 | reporter of any incident.
68 |
69 | ## Enforcement Guidelines
70 |
71 | Community leaders will follow these Community Impact Guidelines in determining
72 | the consequences for any action they deem in violation of this Code of Conduct:
73 |
74 | ### 1. Correction
75 |
76 | **Community Impact**: Use of inappropriate language or other behavior deemed
77 | unprofessional or unwelcome in the community.
78 |
79 | **Consequence**: A private, written warning from community leaders, providing
80 | clarity around the nature of the violation and an explanation of why the
81 | behavior was inappropriate. A public apology may be requested.
82 |
83 | ### 2. Warning
84 |
85 | **Community Impact**: A violation through a single incident or series
86 | of actions.
87 |
88 | **Consequence**: A warning with consequences for continued behavior. No
89 | interaction with the people involved, including unsolicited interaction with
90 | those enforcing the Code of Conduct, for a specified period of time. This
91 | includes avoiding interactions in community spaces as well as external channels
92 | like social media. Violating these terms may lead to a temporary or
93 | permanent ban.
94 |
95 | ### 3. Temporary Ban
96 |
97 | **Community Impact**: A serious violation of community standards, including
98 | sustained inappropriate behavior.
99 |
100 | **Consequence**: A temporary ban from any sort of interaction or public
101 | communication with the community for a specified period of time. No public or
102 | private interaction with the people involved, including unsolicited interaction
103 | with those enforcing the Code of Conduct, is allowed during this period.
104 | Violating these terms may lead to a permanent ban.
105 |
106 | ### 4. Permanent Ban
107 |
108 | **Community Impact**: Demonstrating a pattern of violation of community
109 | standards, including sustained inappropriate behavior, harassment of an
110 | individual, or aggression toward or disparagement of classes of individuals.
111 |
112 | **Consequence**: A permanent ban from any sort of public interaction within
113 | the community.
114 |
115 | ## Attribution
116 |
117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118 | version 2.0, available at
119 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120 |
121 | Community Impact Guidelines were inspired by [Mozilla's code of conduct
122 | enforcement ladder](https://github.com/mozilla/diversity).
123 |
124 | [homepage]: https://www.contributor-covenant.org
125 |
126 | For answers to common questions about this code of conduct, see the FAQ at
127 | https://www.contributor-covenant.org/faq. Translations are available at
128 | https://www.contributor-covenant.org/translations.
129 |
--------------------------------------------------------------------------------
/lib/homepage.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/gestures.dart';
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_inappwebview/flutter_inappwebview.dart';
4 | import 'package:full_webview/check_internet.dart';
5 | import 'package:url_launcher/url_launcher.dart';
6 |
7 | import 'webview/example2.dart';
8 | import 'webview/example3.dart';
9 | import 'webview/example4.dart';
10 | import 'webview/example5.dart';
11 |
12 | class HomePage extends StatefulWidget {
13 | HomePage({Key? key}) : super(key: key);
14 |
15 | @override
16 | _HomePageState createState() => _HomePageState();
17 | }
18 |
19 | class _HomePageState extends State {
20 | var _scaffoldKey = GlobalKey();
21 | final WebExampleThree inAppBrowser = WebExampleThree();
22 | final WebExampleFour inAppChrome = WebExampleFour();
23 | String _url = "https://github.com/techwithsam";
24 | int checkInt = 0;
25 |
26 | InAppBrowserClassSettings options = InAppBrowserClassSettings(
27 | browserSettings: InAppBrowserSettings(
28 | hideUrlBar: false,
29 | toolbarTopBackgroundColor: Colors.blue,
30 | ),
31 | webViewSettings: InAppWebViewSettings(
32 | javaScriptEnabled: true,
33 | cacheEnabled: true,
34 | transparentBackground: true,
35 | ),
36 | );
37 |
38 | @override
39 | void initState() {
40 | super.initState();
41 | Future a = CheckInternet().checkInternetConnection();
42 | a.then((value) {
43 | if (value == 0) {
44 | setState(() {
45 | checkInt = 0;
46 | });
47 | print('No internet connect');
48 | ScaffoldMessenger.of(context).showSnackBar(SnackBar(
49 | content: Text('No internet connection!'),
50 | ));
51 | } else {
52 | setState(() {
53 | checkInt = 1;
54 | });
55 | print('Internet connected');
56 | ScaffoldMessenger.of(context).showSnackBar(SnackBar(
57 | content: Text('Connected to the internet'),
58 | ));
59 | }
60 | });
61 | inAppChrome.addMenuItem(ChromeSafariBrowserMenuItem(
62 | id: 1,
63 | label: 'Example 1',
64 | onClick: (title, url) {
65 | print(title);
66 | print(url);
67 | },
68 | ));
69 | inAppChrome.addMenuItem(ChromeSafariBrowserMenuItem(
70 | id: 2,
71 | label: 'Example 2',
72 | onClick: (title, url) {
73 | print(title);
74 | print(url);
75 | },
76 | ));
77 | }
78 |
79 | @override
80 | Widget build(BuildContext context) {
81 | return Scaffold(
82 | key: _scaffoldKey,
83 | appBar: AppBar(
84 | title: Text('Flutter Webview Tutorial'),
85 | centerTitle: true,
86 | elevation: 0,
87 | ),
88 | bottomNavigationBar: Padding(
89 | padding: EdgeInsets.fromLTRB(3, 6, 3, 6),
90 | child: RichText(
91 | text: TextSpan(
92 | text: 'Connect with me Online - ',
93 | style: TextStyle(color: Colors.black),
94 | recognizer: TapGestureRecognizer()..onTap = () => _launchURL(),
95 | children: [
96 | TextSpan(
97 | text: '@techwithsam',
98 | style:
99 | TextStyle(color: Colors.blue, fontWeight: FontWeight.w600),
100 | recognizer: TapGestureRecognizer()..onTap = () => _launchURL(),
101 | )
102 | ],
103 | ),
104 | textAlign: TextAlign.center,
105 | ),
106 | ),
107 | body: Center(
108 | child: SingleChildScrollView(
109 | child: Column(
110 | children: [
111 | SizedBox(height: 12),
112 | MaterialButton(
113 | onPressed: () {
114 | Navigator.push(
115 | context,
116 | MaterialPageRoute(
117 | builder: (_) => WebExampleTwo(url: _url),
118 | ));
119 | },
120 | child: Text(
121 | 'Example 2',
122 | style: TextStyle(color: Colors.white),
123 | ),
124 | color: Colors.green,
125 | padding: EdgeInsets.symmetric(horizontal: 70, vertical: 12),
126 | ),
127 | SizedBox(height: 12),
128 | MaterialButton(
129 | onPressed: () {
130 | inAppBrowser.openUrlRequest(
131 | urlRequest: URLRequest(url: WebUri(_url)),
132 | settings: options);
133 | },
134 | child: Text(
135 | 'Example 3',
136 | style: TextStyle(color: Colors.white),
137 | ),
138 | color: Colors.purple[700],
139 | padding: EdgeInsets.symmetric(horizontal: 70, vertical: 12),
140 | ),
141 | SizedBox(height: 12),
142 | MaterialButton(
143 | onPressed: () {
144 | checkInt == 1
145 | ? inAppChrome.open(
146 | url: WebUri(_url),
147 | settings: ChromeSafariBrowserSettings(
148 | barCollapsingEnabled: true,
149 | shareState:
150 | CustomTabsShareState.SHARE_STATE_DEFAULT),
151 | )
152 | : ScaffoldMessenger.of(context).showSnackBar(
153 | SnackBar(
154 | content: Text('No internet connection!'),
155 | ),
156 | );
157 | },
158 | child: Text(
159 | 'Example 4',
160 | style: TextStyle(color: Colors.white),
161 | ),
162 | color: Colors.pink[900],
163 | padding: EdgeInsets.symmetric(horizontal: 70, vertical: 12),
164 | ),
165 | SizedBox(height: 12),
166 | MaterialButton(
167 | onPressed: () {
168 | Navigator.of(context).push(MaterialPageRoute(
169 | builder: (context) => WebExampleFive(url: _url)));
170 | },
171 | child: Text(
172 | 'Example 5',
173 | style: TextStyle(color: Colors.white),
174 | ),
175 | color: Colors.yellow[900],
176 | padding: EdgeInsets.symmetric(horizontal: 70, vertical: 12),
177 | ),
178 | ],
179 | ),
180 | ),
181 | ),
182 | );
183 | }
184 |
185 | void _launchURL() async => await canLaunchUrl(Uri.parse(_url))
186 | ? await launchUrl(Uri.parse(_url))
187 | : throw 'Could not launch $_url';
188 | }
189 |
--------------------------------------------------------------------------------
/lib/webview/example2.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:flutter/material.dart';
4 | import 'package:flutter_downloader/flutter_downloader.dart';
5 | import 'package:flutter_inappwebview/flutter_inappwebview.dart';
6 | import 'package:path_provider/path_provider.dart';
7 |
8 | class WebExampleTwo extends StatefulWidget {
9 | final String url;
10 | WebExampleTwo({Key? key, required this.url}) : super(key: key);
11 |
12 | @override
13 | _WebExampleTwoState createState() => _WebExampleTwoState();
14 | }
15 |
16 | class _WebExampleTwoState extends State {
17 | final GlobalKey webViewKey = GlobalKey();
18 | InAppWebViewController? _webViewController;
19 | late PullToRefreshController pullToRefreshController;
20 | final urlController = TextEditingController();
21 | double progress = 0;
22 | String url = '';
23 |
24 | var options = InAppWebViewSettings(
25 | javaScriptEnabled: true,
26 | cacheEnabled: true,
27 | transparentBackground: true,
28 | );
29 |
30 | @override
31 | void initState() {
32 | super.initState();
33 | pullToRefreshController = PullToRefreshController(
34 | settings: PullToRefreshSettings(color: Colors.blue),
35 | onRefresh: () async {
36 | if (Platform.isAndroid) {
37 | _webViewController?.reload();
38 | } else if (Platform.isIOS) {
39 | _webViewController?.loadUrl(
40 | urlRequest: URLRequest(url: await _webViewController?.getUrl()));
41 | }
42 | },
43 | );
44 | }
45 |
46 | @override
47 | void dispose() {
48 | super.dispose();
49 | }
50 |
51 | @override
52 | Widget build(BuildContext context) {
53 | return Scaffold(
54 | // appBar: AppBar(
55 | // title: Text("Tect With Sam"),
56 | // centerTitle: true,
57 | // elevation: 0,
58 | // actions: [
59 | // IconButton(
60 | // onPressed: () => _webViewController?.reload(),
61 | // icon: Icon(Icons.refresh),
62 | // ),
63 | // ],
64 | // ),
65 | body: SafeArea(
66 | child: Column(
67 | children: [
68 | Expanded(
69 | child: Stack(
70 | children: [
71 | InAppWebView(
72 | key: webViewKey,
73 | initialUrlRequest: URLRequest(
74 | url: WebUri('https://resizeimage.net/'),
75 | headers: {},
76 | ), // "https://unsplash.com/photos/odxB5oIG_iA"
77 | initialSettings: options,
78 | pullToRefreshController: pullToRefreshController,
79 | onDownloadStartRequest: (controller, url) async {
80 | // downloading a file in a webview application
81 | print("onDownloadStart $url");
82 | await FlutterDownloader.enqueue(
83 | url: url.toString(), // url to download
84 | savedDir: (await getExternalStorageDirectory())!.path,
85 | // the directory to store the download
86 | fileName: 'downloads',
87 | headers: {},
88 | showNotification: true,
89 | openFileFromNotification: true,
90 | );
91 | },
92 | onWebViewCreated: (controller) {
93 | _webViewController = controller;
94 | },
95 | onLoadStart: (controller, url) {
96 | setState(() {
97 | this.url = url.toString();
98 | urlController.text = this.url;
99 | });
100 | },
101 | onPermissionRequest: (controller, resources) async {
102 | return PermissionResponse(
103 | resources: [],
104 | action: PermissionResponseAction.GRANT,
105 | );
106 | },
107 | onLoadStop: (controller, url) async {
108 | pullToRefreshController.endRefreshing();
109 | setState(() {
110 | this.url = url.toString();
111 | urlController.text = this.url;
112 | });
113 | },
114 | onReceivedError: (controller, url, code) {
115 | pullToRefreshController.endRefreshing();
116 | },
117 | onProgressChanged: (controller, progress) {
118 | if (progress == 100) {
119 | pullToRefreshController.endRefreshing();
120 | }
121 | setState(() {
122 | this.progress = progress / 100;
123 | urlController.text = this.url;
124 | });
125 | },
126 | onUpdateVisitedHistory: (controller, url, androidIsReload) {
127 | setState(() {
128 | this.url = url.toString();
129 | urlController.text = this.url;
130 | });
131 | },
132 | onConsoleMessage: (controller, consoleMessage) {
133 | print(consoleMessage);
134 | },
135 | ),
136 | progress < 1.0
137 | ? LinearProgressIndicator(
138 | value: progress,
139 | backgroundColor: Colors.white,
140 | valueColor:
141 | AlwaysStoppedAnimation(Colors.green[800]!),
142 | )
143 | : Center(),
144 | ],
145 | ),
146 | ),
147 | OverflowBar(
148 | // buttonAlignedDropdown: true,
149 | // buttonPadding: EdgeInsets.all(2),
150 | overflowSpacing: 2, spacing: 2,
151 | alignment: MainAxisAlignment.spaceAround,
152 | children: [
153 | ElevatedButton(
154 | child: Icon(Icons.arrow_back),
155 | onPressed: () {
156 | _webViewController?.goBack();
157 | },
158 | ),
159 | ElevatedButton(
160 | child: Icon(Icons.arrow_forward),
161 | onPressed: () {
162 | _webViewController?.goForward();
163 | },
164 | ),
165 | ElevatedButton(
166 | child: Icon(Icons.refresh),
167 | onPressed: () {
168 | _webViewController?.reload();
169 | },
170 | ),
171 | ],
172 | ),
173 | ],
174 | ),
175 | ),
176 | );
177 | }
178 | }
179 |
--------------------------------------------------------------------------------
/pubspec.lock:
--------------------------------------------------------------------------------
1 | # Generated by pub
2 | # See https://dart.dev/tools/pub/glossary#lockfile
3 | packages:
4 | args:
5 | dependency: transitive
6 | description:
7 | name: args
8 | sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04
9 | url: "https://pub.dev"
10 | source: hosted
11 | version: "2.7.0"
12 | async:
13 | dependency: transitive
14 | description:
15 | name: async
16 | sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
17 | url: "https://pub.dev"
18 | source: hosted
19 | version: "2.11.0"
20 | boolean_selector:
21 | dependency: transitive
22 | description:
23 | name: boolean_selector
24 | sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
25 | url: "https://pub.dev"
26 | source: hosted
27 | version: "2.1.1"
28 | characters:
29 | dependency: transitive
30 | description:
31 | name: characters
32 | sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
33 | url: "https://pub.dev"
34 | source: hosted
35 | version: "1.3.0"
36 | clock:
37 | dependency: transitive
38 | description:
39 | name: clock
40 | sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
41 | url: "https://pub.dev"
42 | source: hosted
43 | version: "1.1.1"
44 | collection:
45 | dependency: transitive
46 | description:
47 | name: collection
48 | sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
49 | url: "https://pub.dev"
50 | source: hosted
51 | version: "1.18.0"
52 | connectivity_plus:
53 | dependency: "direct main"
54 | description:
55 | name: connectivity_plus
56 | sha256: "051849e2bd7c7b3bc5844ea0d096609ddc3a859890ec3a9ac4a65a2620cc1f99"
57 | url: "https://pub.dev"
58 | source: hosted
59 | version: "6.1.4"
60 | connectivity_plus_platform_interface:
61 | dependency: transitive
62 | description:
63 | name: connectivity_plus_platform_interface
64 | sha256: "42657c1715d48b167930d5f34d00222ac100475f73d10162ddf43e714932f204"
65 | url: "https://pub.dev"
66 | source: hosted
67 | version: "2.0.1"
68 | cupertino_icons:
69 | dependency: "direct main"
70 | description:
71 | name: cupertino_icons
72 | sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
73 | url: "https://pub.dev"
74 | source: hosted
75 | version: "1.0.8"
76 | dbus:
77 | dependency: transitive
78 | description:
79 | name: dbus
80 | sha256: "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c"
81 | url: "https://pub.dev"
82 | source: hosted
83 | version: "0.7.11"
84 | fake_async:
85 | dependency: transitive
86 | description:
87 | name: fake_async
88 | sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
89 | url: "https://pub.dev"
90 | source: hosted
91 | version: "1.3.1"
92 | ffi:
93 | dependency: transitive
94 | description:
95 | name: ffi
96 | sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6"
97 | url: "https://pub.dev"
98 | source: hosted
99 | version: "2.1.3"
100 | file:
101 | dependency: transitive
102 | description:
103 | name: file
104 | sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
105 | url: "https://pub.dev"
106 | source: hosted
107 | version: "7.0.0"
108 | flutter:
109 | dependency: "direct main"
110 | description: flutter
111 | source: sdk
112 | version: "0.0.0"
113 | flutter_downloader:
114 | dependency: "direct main"
115 | description:
116 | name: flutter_downloader
117 | sha256: b6da5495b6258aa7c243d0f0a5281e3430b385bccac11cc508f981e653b25aa6
118 | url: "https://pub.dev"
119 | source: hosted
120 | version: "1.11.8"
121 | flutter_driver:
122 | dependency: transitive
123 | description: flutter
124 | source: sdk
125 | version: "0.0.0"
126 | flutter_inappwebview:
127 | dependency: "direct main"
128 | description:
129 | name: flutter_inappwebview
130 | sha256: "80092d13d3e29b6227e25b67973c67c7210bd5e35c4b747ca908e31eb71a46d5"
131 | url: "https://pub.dev"
132 | source: hosted
133 | version: "6.1.5"
134 | flutter_inappwebview_android:
135 | dependency: transitive
136 | description:
137 | name: flutter_inappwebview_android
138 | sha256: "62557c15a5c2db5d195cb3892aab74fcaec266d7b86d59a6f0027abd672cddba"
139 | url: "https://pub.dev"
140 | source: hosted
141 | version: "1.1.3"
142 | flutter_inappwebview_internal_annotations:
143 | dependency: transitive
144 | description:
145 | name: flutter_inappwebview_internal_annotations
146 | sha256: "787171d43f8af67864740b6f04166c13190aa74a1468a1f1f1e9ee5b90c359cd"
147 | url: "https://pub.dev"
148 | source: hosted
149 | version: "1.2.0"
150 | flutter_inappwebview_ios:
151 | dependency: transitive
152 | description:
153 | name: flutter_inappwebview_ios
154 | sha256: "5818cf9b26cf0cbb0f62ff50772217d41ea8d3d9cc00279c45f8aabaa1b4025d"
155 | url: "https://pub.dev"
156 | source: hosted
157 | version: "1.1.2"
158 | flutter_inappwebview_macos:
159 | dependency: transitive
160 | description:
161 | name: flutter_inappwebview_macos
162 | sha256: c1fbb86af1a3738e3541364d7d1866315ffb0468a1a77e34198c9be571287da1
163 | url: "https://pub.dev"
164 | source: hosted
165 | version: "1.1.2"
166 | flutter_inappwebview_platform_interface:
167 | dependency: transitive
168 | description:
169 | name: flutter_inappwebview_platform_interface
170 | sha256: cf5323e194096b6ede7a1ca808c3e0a078e4b33cc3f6338977d75b4024ba2500
171 | url: "https://pub.dev"
172 | source: hosted
173 | version: "1.3.0+1"
174 | flutter_inappwebview_web:
175 | dependency: transitive
176 | description:
177 | name: flutter_inappwebview_web
178 | sha256: "55f89c83b0a0d3b7893306b3bb545ba4770a4df018204917148ebb42dc14a598"
179 | url: "https://pub.dev"
180 | source: hosted
181 | version: "1.1.2"
182 | flutter_inappwebview_windows:
183 | dependency: transitive
184 | description:
185 | name: flutter_inappwebview_windows
186 | sha256: "8b4d3a46078a2cdc636c4a3d10d10f2a16882f6be607962dbfff8874d1642055"
187 | url: "https://pub.dev"
188 | source: hosted
189 | version: "0.6.0"
190 | flutter_test:
191 | dependency: "direct dev"
192 | description: flutter
193 | source: sdk
194 | version: "0.0.0"
195 | flutter_web_plugins:
196 | dependency: transitive
197 | description: flutter
198 | source: sdk
199 | version: "0.0.0"
200 | fuchsia_remote_debug_protocol:
201 | dependency: transitive
202 | description: flutter
203 | source: sdk
204 | version: "0.0.0"
205 | integration_test:
206 | dependency: "direct dev"
207 | description: flutter
208 | source: sdk
209 | version: "0.0.0"
210 | leak_tracker:
211 | dependency: transitive
212 | description:
213 | name: leak_tracker
214 | sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"
215 | url: "https://pub.dev"
216 | source: hosted
217 | version: "10.0.5"
218 | leak_tracker_flutter_testing:
219 | dependency: transitive
220 | description:
221 | name: leak_tracker_flutter_testing
222 | sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"
223 | url: "https://pub.dev"
224 | source: hosted
225 | version: "3.0.5"
226 | leak_tracker_testing:
227 | dependency: transitive
228 | description:
229 | name: leak_tracker_testing
230 | sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
231 | url: "https://pub.dev"
232 | source: hosted
233 | version: "3.0.1"
234 | matcher:
235 | dependency: transitive
236 | description:
237 | name: matcher
238 | sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
239 | url: "https://pub.dev"
240 | source: hosted
241 | version: "0.12.16+1"
242 | material_color_utilities:
243 | dependency: transitive
244 | description:
245 | name: material_color_utilities
246 | sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec
247 | url: "https://pub.dev"
248 | source: hosted
249 | version: "0.11.1"
250 | meta:
251 | dependency: transitive
252 | description:
253 | name: meta
254 | sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
255 | url: "https://pub.dev"
256 | source: hosted
257 | version: "1.15.0"
258 | nm:
259 | dependency: transitive
260 | description:
261 | name: nm
262 | sha256: "2c9aae4127bdc8993206464fcc063611e0e36e72018696cd9631023a31b24254"
263 | url: "https://pub.dev"
264 | source: hosted
265 | version: "0.5.0"
266 | path:
267 | dependency: transitive
268 | description:
269 | name: path
270 | sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
271 | url: "https://pub.dev"
272 | source: hosted
273 | version: "1.9.0"
274 | path_provider:
275 | dependency: "direct main"
276 | description:
277 | name: path_provider
278 | sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd"
279 | url: "https://pub.dev"
280 | source: hosted
281 | version: "2.1.5"
282 | path_provider_android:
283 | dependency: transitive
284 | description:
285 | name: path_provider_android
286 | sha256: "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2"
287 | url: "https://pub.dev"
288 | source: hosted
289 | version: "2.2.15"
290 | path_provider_foundation:
291 | dependency: transitive
292 | description:
293 | name: path_provider_foundation
294 | sha256: "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942"
295 | url: "https://pub.dev"
296 | source: hosted
297 | version: "2.4.1"
298 | path_provider_linux:
299 | dependency: transitive
300 | description:
301 | name: path_provider_linux
302 | sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279
303 | url: "https://pub.dev"
304 | source: hosted
305 | version: "2.2.1"
306 | path_provider_platform_interface:
307 | dependency: transitive
308 | description:
309 | name: path_provider_platform_interface
310 | sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334"
311 | url: "https://pub.dev"
312 | source: hosted
313 | version: "2.1.2"
314 | path_provider_windows:
315 | dependency: transitive
316 | description:
317 | name: path_provider_windows
318 | sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7
319 | url: "https://pub.dev"
320 | source: hosted
321 | version: "2.3.0"
322 | permission_handler:
323 | dependency: "direct main"
324 | description:
325 | name: permission_handler
326 | sha256: bc917da36261b00137bbc8896bf1482169cd76f866282368948f032c8c1caae1
327 | url: "https://pub.dev"
328 | source: hosted
329 | version: "12.0.1"
330 | permission_handler_android:
331 | dependency: transitive
332 | description:
333 | name: permission_handler_android
334 | sha256: "1e3bc410ca1bf84662104b100eb126e066cb55791b7451307f9708d4007350e6"
335 | url: "https://pub.dev"
336 | source: hosted
337 | version: "13.0.1"
338 | permission_handler_apple:
339 | dependency: transitive
340 | description:
341 | name: permission_handler_apple
342 | sha256: f000131e755c54cf4d84a5d8bd6e4149e262cc31c5a8b1d698de1ac85fa41023
343 | url: "https://pub.dev"
344 | source: hosted
345 | version: "9.4.7"
346 | permission_handler_html:
347 | dependency: transitive
348 | description:
349 | name: permission_handler_html
350 | sha256: "38f000e83355abb3392140f6bc3030660cfaef189e1f87824facb76300b4ff24"
351 | url: "https://pub.dev"
352 | source: hosted
353 | version: "0.1.3+5"
354 | permission_handler_platform_interface:
355 | dependency: transitive
356 | description:
357 | name: permission_handler_platform_interface
358 | sha256: eb99b295153abce5d683cac8c02e22faab63e50679b937fa1bf67d58bb282878
359 | url: "https://pub.dev"
360 | source: hosted
361 | version: "4.3.0"
362 | permission_handler_windows:
363 | dependency: transitive
364 | description:
365 | name: permission_handler_windows
366 | sha256: "1a790728016f79a41216d88672dbc5df30e686e811ad4e698bfc51f76ad91f1e"
367 | url: "https://pub.dev"
368 | source: hosted
369 | version: "0.2.1"
370 | petitparser:
371 | dependency: transitive
372 | description:
373 | name: petitparser
374 | sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27
375 | url: "https://pub.dev"
376 | source: hosted
377 | version: "6.0.2"
378 | platform:
379 | dependency: transitive
380 | description:
381 | name: platform
382 | sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65"
383 | url: "https://pub.dev"
384 | source: hosted
385 | version: "3.1.5"
386 | plugin_platform_interface:
387 | dependency: transitive
388 | description:
389 | name: plugin_platform_interface
390 | sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
391 | url: "https://pub.dev"
392 | source: hosted
393 | version: "2.1.8"
394 | process:
395 | dependency: transitive
396 | description:
397 | name: process
398 | sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32"
399 | url: "https://pub.dev"
400 | source: hosted
401 | version: "5.0.2"
402 | sky_engine:
403 | dependency: transitive
404 | description: flutter
405 | source: sdk
406 | version: "0.0.99"
407 | source_span:
408 | dependency: transitive
409 | description:
410 | name: source_span
411 | sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
412 | url: "https://pub.dev"
413 | source: hosted
414 | version: "1.10.0"
415 | stack_trace:
416 | dependency: transitive
417 | description:
418 | name: stack_trace
419 | sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
420 | url: "https://pub.dev"
421 | source: hosted
422 | version: "1.11.1"
423 | stream_channel:
424 | dependency: transitive
425 | description:
426 | name: stream_channel
427 | sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
428 | url: "https://pub.dev"
429 | source: hosted
430 | version: "2.1.2"
431 | string_scanner:
432 | dependency: transitive
433 | description:
434 | name: string_scanner
435 | sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
436 | url: "https://pub.dev"
437 | source: hosted
438 | version: "1.2.0"
439 | sync_http:
440 | dependency: transitive
441 | description:
442 | name: sync_http
443 | sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961"
444 | url: "https://pub.dev"
445 | source: hosted
446 | version: "0.3.1"
447 | term_glyph:
448 | dependency: transitive
449 | description:
450 | name: term_glyph
451 | sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
452 | url: "https://pub.dev"
453 | source: hosted
454 | version: "1.2.1"
455 | test_api:
456 | dependency: transitive
457 | description:
458 | name: test_api
459 | sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"
460 | url: "https://pub.dev"
461 | source: hosted
462 | version: "0.7.2"
463 | url_launcher:
464 | dependency: "direct main"
465 | description:
466 | name: url_launcher
467 | sha256: "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603"
468 | url: "https://pub.dev"
469 | source: hosted
470 | version: "6.3.1"
471 | url_launcher_android:
472 | dependency: transitive
473 | description:
474 | name: url_launcher_android
475 | sha256: "6fc2f56536ee873eeb867ad176ae15f304ccccc357848b351f6f0d8d4a40d193"
476 | url: "https://pub.dev"
477 | source: hosted
478 | version: "6.3.14"
479 | url_launcher_ios:
480 | dependency: transitive
481 | description:
482 | name: url_launcher_ios
483 | sha256: "7f2022359d4c099eea7df3fdf739f7d3d3b9faf3166fb1dd390775176e0b76cb"
484 | url: "https://pub.dev"
485 | source: hosted
486 | version: "6.3.3"
487 | url_launcher_linux:
488 | dependency: transitive
489 | description:
490 | name: url_launcher_linux
491 | sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935"
492 | url: "https://pub.dev"
493 | source: hosted
494 | version: "3.2.1"
495 | url_launcher_macos:
496 | dependency: transitive
497 | description:
498 | name: url_launcher_macos
499 | sha256: "17ba2000b847f334f16626a574c702b196723af2a289e7a93ffcb79acff855c2"
500 | url: "https://pub.dev"
501 | source: hosted
502 | version: "3.2.2"
503 | url_launcher_platform_interface:
504 | dependency: transitive
505 | description:
506 | name: url_launcher_platform_interface
507 | sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029"
508 | url: "https://pub.dev"
509 | source: hosted
510 | version: "2.3.2"
511 | url_launcher_web:
512 | dependency: transitive
513 | description:
514 | name: url_launcher_web
515 | sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e"
516 | url: "https://pub.dev"
517 | source: hosted
518 | version: "2.3.3"
519 | url_launcher_windows:
520 | dependency: transitive
521 | description:
522 | name: url_launcher_windows
523 | sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77"
524 | url: "https://pub.dev"
525 | source: hosted
526 | version: "3.1.4"
527 | vector_math:
528 | dependency: transitive
529 | description:
530 | name: vector_math
531 | sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
532 | url: "https://pub.dev"
533 | source: hosted
534 | version: "2.1.4"
535 | vm_service:
536 | dependency: transitive
537 | description:
538 | name: vm_service
539 | sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
540 | url: "https://pub.dev"
541 | source: hosted
542 | version: "14.2.5"
543 | web:
544 | dependency: transitive
545 | description:
546 | name: web
547 | sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a"
548 | url: "https://pub.dev"
549 | source: hosted
550 | version: "1.1.1"
551 | webdriver:
552 | dependency: transitive
553 | description:
554 | name: webdriver
555 | sha256: "003d7da9519e1e5f329422b36c4dcdf18d7d2978d1ba099ea4e45ba490ed845e"
556 | url: "https://pub.dev"
557 | source: hosted
558 | version: "3.0.3"
559 | webview_flutter:
560 | dependency: "direct main"
561 | description:
562 | name: webview_flutter
563 | sha256: "889a0a678e7c793c308c68739996227c9661590605e70b1f6cf6b9a6634f7aec"
564 | url: "https://pub.dev"
565 | source: hosted
566 | version: "4.10.0"
567 | webview_flutter_android:
568 | dependency: transitive
569 | description:
570 | name: webview_flutter_android
571 | sha256: "512c26ccc5b8a571fd5d13ec994b7509f142ff6faf85835e243dde3538fdc713"
572 | url: "https://pub.dev"
573 | source: hosted
574 | version: "4.3.2"
575 | webview_flutter_platform_interface:
576 | dependency: transitive
577 | description:
578 | name: webview_flutter_platform_interface
579 | sha256: "7cb32b21825bd65569665c32bb00a34ded5779786d6201f5350979d2d529940d"
580 | url: "https://pub.dev"
581 | source: hosted
582 | version: "2.13.0"
583 | webview_flutter_wkwebview:
584 | dependency: transitive
585 | description:
586 | name: webview_flutter_wkwebview
587 | sha256: a3d461fe3467014e05f3ac4962e5fdde2a4bf44c561cb53e9ae5c586600fdbc3
588 | url: "https://pub.dev"
589 | source: hosted
590 | version: "3.22.0"
591 | xdg_directories:
592 | dependency: transitive
593 | description:
594 | name: xdg_directories
595 | sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15"
596 | url: "https://pub.dev"
597 | source: hosted
598 | version: "1.1.0"
599 | xml:
600 | dependency: transitive
601 | description:
602 | name: xml
603 | sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
604 | url: "https://pub.dev"
605 | source: hosted
606 | version: "6.5.0"
607 | sdks:
608 | dart: ">=3.5.3 <4.0.0"
609 | flutter: ">=3.24.0"
610 |
--------------------------------------------------------------------------------
/ios/Runner.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
11 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
12 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
13 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
14 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
15 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
16 | F6921CECAF1BF48EE9BD14B6 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AFEE1F1082A4BA480FC97FD5 /* Pods_Runner.framework */; };
17 | /* End PBXBuildFile section */
18 |
19 | /* Begin PBXCopyFilesBuildPhase section */
20 | 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
21 | isa = PBXCopyFilesBuildPhase;
22 | buildActionMask = 2147483647;
23 | dstPath = "";
24 | dstSubfolderSpec = 10;
25 | files = (
26 | );
27 | name = "Embed Frameworks";
28 | runOnlyForDeploymentPostprocessing = 0;
29 | };
30 | /* End PBXCopyFilesBuildPhase section */
31 |
32 | /* Begin PBXFileReference section */
33 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
34 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
35 | 29DE6DF89E206D8A5EDBEE89 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
36 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
37 | 55069C2000FE2728A3915566 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
38 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
39 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
40 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
41 | 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
42 | 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
43 | 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
44 | 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
45 | 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
46 | 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
47 | 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
48 | AFEE1F1082A4BA480FC97FD5 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
49 | D5836A6EC6D6E1F9CCCAB449 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
50 | /* End PBXFileReference section */
51 |
52 | /* Begin PBXFrameworksBuildPhase section */
53 | 97C146EB1CF9000F007C117D /* Frameworks */ = {
54 | isa = PBXFrameworksBuildPhase;
55 | buildActionMask = 2147483647;
56 | files = (
57 | F6921CECAF1BF48EE9BD14B6 /* Pods_Runner.framework in Frameworks */,
58 | );
59 | runOnlyForDeploymentPostprocessing = 0;
60 | };
61 | /* End PBXFrameworksBuildPhase section */
62 |
63 | /* Begin PBXGroup section */
64 | 6313EB2990734F0993AFFE6B /* Frameworks */ = {
65 | isa = PBXGroup;
66 | children = (
67 | AFEE1F1082A4BA480FC97FD5 /* Pods_Runner.framework */,
68 | );
69 | name = Frameworks;
70 | sourceTree = "";
71 | };
72 | 9740EEB11CF90186004384FC /* Flutter */ = {
73 | isa = PBXGroup;
74 | children = (
75 | 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
76 | 9740EEB21CF90195004384FC /* Debug.xcconfig */,
77 | 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
78 | 9740EEB31CF90195004384FC /* Generated.xcconfig */,
79 | );
80 | name = Flutter;
81 | sourceTree = "";
82 | };
83 | 97C146E51CF9000F007C117D = {
84 | isa = PBXGroup;
85 | children = (
86 | 9740EEB11CF90186004384FC /* Flutter */,
87 | 97C146F01CF9000F007C117D /* Runner */,
88 | 97C146EF1CF9000F007C117D /* Products */,
89 | B995F942C40298F45E75C4EA /* Pods */,
90 | 6313EB2990734F0993AFFE6B /* Frameworks */,
91 | );
92 | sourceTree = "";
93 | };
94 | 97C146EF1CF9000F007C117D /* Products */ = {
95 | isa = PBXGroup;
96 | children = (
97 | 97C146EE1CF9000F007C117D /* Runner.app */,
98 | );
99 | name = Products;
100 | sourceTree = "";
101 | };
102 | 97C146F01CF9000F007C117D /* Runner */ = {
103 | isa = PBXGroup;
104 | children = (
105 | 97C146FA1CF9000F007C117D /* Main.storyboard */,
106 | 97C146FD1CF9000F007C117D /* Assets.xcassets */,
107 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
108 | 97C147021CF9000F007C117D /* Info.plist */,
109 | 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
110 | 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
111 | 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
112 | 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
113 | );
114 | path = Runner;
115 | sourceTree = "";
116 | };
117 | B995F942C40298F45E75C4EA /* Pods */ = {
118 | isa = PBXGroup;
119 | children = (
120 | 29DE6DF89E206D8A5EDBEE89 /* Pods-Runner.debug.xcconfig */,
121 | D5836A6EC6D6E1F9CCCAB449 /* Pods-Runner.release.xcconfig */,
122 | 55069C2000FE2728A3915566 /* Pods-Runner.profile.xcconfig */,
123 | );
124 | name = Pods;
125 | path = Pods;
126 | sourceTree = "";
127 | };
128 | /* End PBXGroup section */
129 |
130 | /* Begin PBXNativeTarget section */
131 | 97C146ED1CF9000F007C117D /* Runner */ = {
132 | isa = PBXNativeTarget;
133 | buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
134 | buildPhases = (
135 | EB0E4139DD24BB835BCC7380 /* [CP] Check Pods Manifest.lock */,
136 | 9740EEB61CF901F6004384FC /* Run Script */,
137 | 97C146EA1CF9000F007C117D /* Sources */,
138 | 97C146EB1CF9000F007C117D /* Frameworks */,
139 | 97C146EC1CF9000F007C117D /* Resources */,
140 | 9705A1C41CF9048500538489 /* Embed Frameworks */,
141 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
142 | F22B34D27EE40046C9863357 /* [CP] Embed Pods Frameworks */,
143 | );
144 | buildRules = (
145 | );
146 | dependencies = (
147 | );
148 | name = Runner;
149 | productName = Runner;
150 | productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
151 | productType = "com.apple.product-type.application";
152 | };
153 | /* End PBXNativeTarget section */
154 |
155 | /* Begin PBXProject section */
156 | 97C146E61CF9000F007C117D /* Project object */ = {
157 | isa = PBXProject;
158 | attributes = {
159 | LastUpgradeCheck = 1020;
160 | ORGANIZATIONNAME = "";
161 | TargetAttributes = {
162 | 97C146ED1CF9000F007C117D = {
163 | CreatedOnToolsVersion = 7.3.1;
164 | LastSwiftMigration = 1100;
165 | };
166 | };
167 | };
168 | buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
169 | compatibilityVersion = "Xcode 9.3";
170 | developmentRegion = en;
171 | hasScannedForEncodings = 0;
172 | knownRegions = (
173 | en,
174 | Base,
175 | );
176 | mainGroup = 97C146E51CF9000F007C117D;
177 | productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
178 | projectDirPath = "";
179 | projectRoot = "";
180 | targets = (
181 | 97C146ED1CF9000F007C117D /* Runner */,
182 | );
183 | };
184 | /* End PBXProject section */
185 |
186 | /* Begin PBXResourcesBuildPhase section */
187 | 97C146EC1CF9000F007C117D /* Resources */ = {
188 | isa = PBXResourcesBuildPhase;
189 | buildActionMask = 2147483647;
190 | files = (
191 | 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
192 | 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
193 | 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
194 | 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
195 | );
196 | runOnlyForDeploymentPostprocessing = 0;
197 | };
198 | /* End PBXResourcesBuildPhase section */
199 |
200 | /* Begin PBXShellScriptBuildPhase section */
201 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
202 | isa = PBXShellScriptBuildPhase;
203 | buildActionMask = 2147483647;
204 | files = (
205 | );
206 | inputPaths = (
207 | );
208 | name = "Thin Binary";
209 | outputPaths = (
210 | );
211 | runOnlyForDeploymentPostprocessing = 0;
212 | shellPath = /bin/sh;
213 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
214 | };
215 | 9740EEB61CF901F6004384FC /* Run Script */ = {
216 | isa = PBXShellScriptBuildPhase;
217 | buildActionMask = 2147483647;
218 | files = (
219 | );
220 | inputPaths = (
221 | );
222 | name = "Run Script";
223 | outputPaths = (
224 | );
225 | runOnlyForDeploymentPostprocessing = 0;
226 | shellPath = /bin/sh;
227 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
228 | };
229 | EB0E4139DD24BB835BCC7380 /* [CP] Check Pods Manifest.lock */ = {
230 | isa = PBXShellScriptBuildPhase;
231 | buildActionMask = 2147483647;
232 | files = (
233 | );
234 | inputFileListPaths = (
235 | );
236 | inputPaths = (
237 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
238 | "${PODS_ROOT}/Manifest.lock",
239 | );
240 | name = "[CP] Check Pods Manifest.lock";
241 | outputFileListPaths = (
242 | );
243 | outputPaths = (
244 | "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
245 | );
246 | runOnlyForDeploymentPostprocessing = 0;
247 | shellPath = /bin/sh;
248 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
249 | showEnvVarsInLog = 0;
250 | };
251 | F22B34D27EE40046C9863357 /* [CP] Embed Pods Frameworks */ = {
252 | isa = PBXShellScriptBuildPhase;
253 | buildActionMask = 2147483647;
254 | files = (
255 | );
256 | inputFileListPaths = (
257 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
258 | );
259 | name = "[CP] Embed Pods Frameworks";
260 | outputFileListPaths = (
261 | "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
262 | );
263 | runOnlyForDeploymentPostprocessing = 0;
264 | shellPath = /bin/sh;
265 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
266 | showEnvVarsInLog = 0;
267 | };
268 | /* End PBXShellScriptBuildPhase section */
269 |
270 | /* Begin PBXSourcesBuildPhase section */
271 | 97C146EA1CF9000F007C117D /* Sources */ = {
272 | isa = PBXSourcesBuildPhase;
273 | buildActionMask = 2147483647;
274 | files = (
275 | 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
276 | 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
277 | );
278 | runOnlyForDeploymentPostprocessing = 0;
279 | };
280 | /* End PBXSourcesBuildPhase section */
281 |
282 | /* Begin PBXVariantGroup section */
283 | 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
284 | isa = PBXVariantGroup;
285 | children = (
286 | 97C146FB1CF9000F007C117D /* Base */,
287 | );
288 | name = Main.storyboard;
289 | sourceTree = "";
290 | };
291 | 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
292 | isa = PBXVariantGroup;
293 | children = (
294 | 97C147001CF9000F007C117D /* Base */,
295 | );
296 | name = LaunchScreen.storyboard;
297 | sourceTree = "";
298 | };
299 | /* End PBXVariantGroup section */
300 |
301 | /* Begin XCBuildConfiguration section */
302 | 249021D3217E4FDB00AE95B9 /* Profile */ = {
303 | isa = XCBuildConfiguration;
304 | buildSettings = {
305 | ALWAYS_SEARCH_USER_PATHS = NO;
306 | CLANG_ANALYZER_NONNULL = YES;
307 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
308 | CLANG_CXX_LIBRARY = "libc++";
309 | CLANG_ENABLE_MODULES = YES;
310 | CLANG_ENABLE_OBJC_ARC = YES;
311 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
312 | CLANG_WARN_BOOL_CONVERSION = YES;
313 | CLANG_WARN_COMMA = YES;
314 | CLANG_WARN_CONSTANT_CONVERSION = YES;
315 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
316 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
317 | CLANG_WARN_EMPTY_BODY = YES;
318 | CLANG_WARN_ENUM_CONVERSION = YES;
319 | CLANG_WARN_INFINITE_RECURSION = YES;
320 | CLANG_WARN_INT_CONVERSION = YES;
321 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
322 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
323 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
324 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
325 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
326 | CLANG_WARN_STRICT_PROTOTYPES = YES;
327 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
328 | CLANG_WARN_UNREACHABLE_CODE = YES;
329 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
330 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
331 | COPY_PHASE_STRIP = NO;
332 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
333 | ENABLE_NS_ASSERTIONS = NO;
334 | ENABLE_STRICT_OBJC_MSGSEND = YES;
335 | GCC_C_LANGUAGE_STANDARD = gnu99;
336 | GCC_NO_COMMON_BLOCKS = YES;
337 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
338 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
339 | GCC_WARN_UNDECLARED_SELECTOR = YES;
340 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
341 | GCC_WARN_UNUSED_FUNCTION = YES;
342 | GCC_WARN_UNUSED_VARIABLE = YES;
343 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
344 | MTL_ENABLE_DEBUG_INFO = NO;
345 | SDKROOT = iphoneos;
346 | SUPPORTED_PLATFORMS = iphoneos;
347 | TARGETED_DEVICE_FAMILY = "1,2";
348 | VALIDATE_PRODUCT = YES;
349 | };
350 | name = Profile;
351 | };
352 | 249021D4217E4FDB00AE95B9 /* Profile */ = {
353 | isa = XCBuildConfiguration;
354 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
355 | buildSettings = {
356 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
357 | CLANG_ENABLE_MODULES = YES;
358 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
359 | ENABLE_BITCODE = NO;
360 | INFOPLIST_FILE = Runner/Info.plist;
361 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
362 | PRODUCT_BUNDLE_IDENTIFIER = com.techwithsam.flutterWebview;
363 | PRODUCT_NAME = "$(TARGET_NAME)";
364 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
365 | SWIFT_VERSION = 5.0;
366 | VERSIONING_SYSTEM = "apple-generic";
367 | };
368 | name = Profile;
369 | };
370 | 97C147031CF9000F007C117D /* Debug */ = {
371 | isa = XCBuildConfiguration;
372 | buildSettings = {
373 | ALWAYS_SEARCH_USER_PATHS = NO;
374 | CLANG_ANALYZER_NONNULL = YES;
375 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
376 | CLANG_CXX_LIBRARY = "libc++";
377 | CLANG_ENABLE_MODULES = YES;
378 | CLANG_ENABLE_OBJC_ARC = YES;
379 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
380 | CLANG_WARN_BOOL_CONVERSION = YES;
381 | CLANG_WARN_COMMA = YES;
382 | CLANG_WARN_CONSTANT_CONVERSION = YES;
383 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
384 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
385 | CLANG_WARN_EMPTY_BODY = YES;
386 | CLANG_WARN_ENUM_CONVERSION = YES;
387 | CLANG_WARN_INFINITE_RECURSION = YES;
388 | CLANG_WARN_INT_CONVERSION = YES;
389 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
390 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
391 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
392 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
393 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
394 | CLANG_WARN_STRICT_PROTOTYPES = YES;
395 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
396 | CLANG_WARN_UNREACHABLE_CODE = YES;
397 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
398 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
399 | COPY_PHASE_STRIP = NO;
400 | DEBUG_INFORMATION_FORMAT = dwarf;
401 | ENABLE_STRICT_OBJC_MSGSEND = YES;
402 | ENABLE_TESTABILITY = YES;
403 | GCC_C_LANGUAGE_STANDARD = gnu99;
404 | GCC_DYNAMIC_NO_PIC = NO;
405 | GCC_NO_COMMON_BLOCKS = YES;
406 | GCC_OPTIMIZATION_LEVEL = 0;
407 | GCC_PREPROCESSOR_DEFINITIONS = (
408 | "DEBUG=1",
409 | "$(inherited)",
410 | );
411 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
412 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
413 | GCC_WARN_UNDECLARED_SELECTOR = YES;
414 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
415 | GCC_WARN_UNUSED_FUNCTION = YES;
416 | GCC_WARN_UNUSED_VARIABLE = YES;
417 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
418 | MTL_ENABLE_DEBUG_INFO = YES;
419 | ONLY_ACTIVE_ARCH = YES;
420 | SDKROOT = iphoneos;
421 | TARGETED_DEVICE_FAMILY = "1,2";
422 | };
423 | name = Debug;
424 | };
425 | 97C147041CF9000F007C117D /* Release */ = {
426 | isa = XCBuildConfiguration;
427 | buildSettings = {
428 | ALWAYS_SEARCH_USER_PATHS = NO;
429 | CLANG_ANALYZER_NONNULL = YES;
430 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
431 | CLANG_CXX_LIBRARY = "libc++";
432 | CLANG_ENABLE_MODULES = YES;
433 | CLANG_ENABLE_OBJC_ARC = YES;
434 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
435 | CLANG_WARN_BOOL_CONVERSION = YES;
436 | CLANG_WARN_COMMA = YES;
437 | CLANG_WARN_CONSTANT_CONVERSION = YES;
438 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
439 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
440 | CLANG_WARN_EMPTY_BODY = YES;
441 | CLANG_WARN_ENUM_CONVERSION = YES;
442 | CLANG_WARN_INFINITE_RECURSION = YES;
443 | CLANG_WARN_INT_CONVERSION = YES;
444 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
445 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
446 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
447 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
448 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
449 | CLANG_WARN_STRICT_PROTOTYPES = YES;
450 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
451 | CLANG_WARN_UNREACHABLE_CODE = YES;
452 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
453 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
454 | COPY_PHASE_STRIP = NO;
455 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
456 | ENABLE_NS_ASSERTIONS = NO;
457 | ENABLE_STRICT_OBJC_MSGSEND = YES;
458 | GCC_C_LANGUAGE_STANDARD = gnu99;
459 | GCC_NO_COMMON_BLOCKS = YES;
460 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
461 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
462 | GCC_WARN_UNDECLARED_SELECTOR = YES;
463 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
464 | GCC_WARN_UNUSED_FUNCTION = YES;
465 | GCC_WARN_UNUSED_VARIABLE = YES;
466 | IPHONEOS_DEPLOYMENT_TARGET = 9.0;
467 | MTL_ENABLE_DEBUG_INFO = NO;
468 | SDKROOT = iphoneos;
469 | SUPPORTED_PLATFORMS = iphoneos;
470 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
471 | TARGETED_DEVICE_FAMILY = "1,2";
472 | VALIDATE_PRODUCT = YES;
473 | };
474 | name = Release;
475 | };
476 | 97C147061CF9000F007C117D /* Debug */ = {
477 | isa = XCBuildConfiguration;
478 | baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
479 | buildSettings = {
480 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
481 | CLANG_ENABLE_MODULES = YES;
482 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
483 | ENABLE_BITCODE = NO;
484 | INFOPLIST_FILE = Runner/Info.plist;
485 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
486 | PRODUCT_BUNDLE_IDENTIFIER = com.techwithsam.flutterWebview;
487 | PRODUCT_NAME = "$(TARGET_NAME)";
488 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
489 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
490 | SWIFT_VERSION = 5.0;
491 | VERSIONING_SYSTEM = "apple-generic";
492 | };
493 | name = Debug;
494 | };
495 | 97C147071CF9000F007C117D /* Release */ = {
496 | isa = XCBuildConfiguration;
497 | baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
498 | buildSettings = {
499 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
500 | CLANG_ENABLE_MODULES = YES;
501 | CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
502 | ENABLE_BITCODE = NO;
503 | INFOPLIST_FILE = Runner/Info.plist;
504 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
505 | PRODUCT_BUNDLE_IDENTIFIER = com.techwithsam.flutterWebview;
506 | PRODUCT_NAME = "$(TARGET_NAME)";
507 | SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
508 | SWIFT_VERSION = 5.0;
509 | VERSIONING_SYSTEM = "apple-generic";
510 | };
511 | name = Release;
512 | };
513 | /* End XCBuildConfiguration section */
514 |
515 | /* Begin XCConfigurationList section */
516 | 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
517 | isa = XCConfigurationList;
518 | buildConfigurations = (
519 | 97C147031CF9000F007C117D /* Debug */,
520 | 97C147041CF9000F007C117D /* Release */,
521 | 249021D3217E4FDB00AE95B9 /* Profile */,
522 | );
523 | defaultConfigurationIsVisible = 0;
524 | defaultConfigurationName = Release;
525 | };
526 | 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
527 | isa = XCConfigurationList;
528 | buildConfigurations = (
529 | 97C147061CF9000F007C117D /* Debug */,
530 | 97C147071CF9000F007C117D /* Release */,
531 | 249021D4217E4FDB00AE95B9 /* Profile */,
532 | );
533 | defaultConfigurationIsVisible = 0;
534 | defaultConfigurationName = Release;
535 | };
536 | /* End XCConfigurationList section */
537 | };
538 | rootObject = 97C146E61CF9000F007C117D /* Project object */;
539 | }
540 |
--------------------------------------------------------------------------------