Skip to content

Commit c7eecf6

Browse files
author
liupandeng
committed
add: upgrade flutter version
1 parent 4fd4d77 commit c7eecf6

File tree

68 files changed

+3356
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+3356
-0
lines changed

Diff for: .flutter-plugins-dependencies

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"ai_barcode","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/ai_barcode-3.0.1/","dependencies":[]},{"name":"connectivity","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/connectivity-3.0.3/","dependencies":[]},{"name":"image_picker","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/image_picker-0.7.4/","dependencies":[]},{"name":"permission_handler","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/permission_handler-5.1.0+2/","dependencies":[]},{"name":"shared_preferences_ios","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/shared_preferences_ios-2.1.1/","dependencies":[]},{"name":"url_launcher","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/url_launcher-6.0.2/","dependencies":[]},{"name":"video_player","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/video_player-2.1.1/","dependencies":[]},{"name":"webview_flutter","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/webview_flutter-2.0.2/","dependencies":[]}],"android":[{"name":"ai_barcode","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/ai_barcode-3.0.1/","dependencies":[]},{"name":"connectivity","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/connectivity-3.0.3/","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/flutter_plugin_android_lifecycle-2.0.7/","dependencies":[]},{"name":"image_picker","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/image_picker-0.7.4/","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"permission_handler","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/permission_handler-5.1.0+2/","dependencies":[]},{"name":"shared_preferences_android","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/shared_preferences_android-2.0.12/","dependencies":[]},{"name":"url_launcher","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/url_launcher-6.0.2/","dependencies":[]},{"name":"video_player","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/video_player-2.1.1/","dependencies":[]},{"name":"webview_flutter","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/webview_flutter-2.0.2/","dependencies":[]}],"macos":[{"name":"ai_barcode","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/ai_barcode-3.0.1/","dependencies":[]},{"name":"connectivity_macos","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/connectivity_macos-0.2.1+2/","dependencies":[]},{"name":"shared_preferences_macos","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/shared_preferences_macos-2.0.4/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/url_launcher_macos-2.0.3/","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/path_provider_linux-2.1.7/","dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/shared_preferences_linux-2.1.1/","dependencies":["path_provider_linux"]},{"name":"url_launcher_linux","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/url_launcher_linux-2.0.3/","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/path_provider_windows-2.0.7/","dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/shared_preferences_windows-2.1.1/","dependencies":["path_provider_windows"]},{"name":"url_launcher_windows","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/url_launcher_windows-2.0.2/","dependencies":[]}],"web":[{"name":"ai_barcode_web","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/ai_barcode_web-3.0.0/","dependencies":[]},{"name":"connectivity_for_web","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/connectivity_for_web-0.4.0+1/","dependencies":[]},{"name":"image_picker_for_web","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/image_picker_for_web-2.0.0/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/shared_preferences_web-2.0.4/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/url_launcher_web-2.0.12/","dependencies":[]},{"name":"video_player_web","path":"/Users/air/develop_tool/flutter_macos_2.8.0-stable/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/video_player_web-2.0.12/","dependencies":[]}]},"dependencyGraph":[{"name":"ai_barcode","dependencies":["ai_barcode_web"]},{"name":"ai_barcode_web","dependencies":[]},{"name":"connectivity","dependencies":["connectivity_macos","connectivity_for_web"]},{"name":"connectivity_for_web","dependencies":[]},{"name":"connectivity_macos","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle","image_picker_for_web"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"permission_handler","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_ios","shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_ios","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"url_launcher","dependencies":["url_launcher_linux","url_launcher_macos","url_launcher_windows","url_launcher_web"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"video_player","dependencies":["video_player_web"]},{"name":"video_player_web","dependencies":[]},{"name":"webview_flutter","dependencies":[]}],"date_created":"2022-08-08 10:33:57.948778","version":"2.8.0"}

Diff for: .gradle/5.1.1/fileChanges/last-build.bin

1 Byte
Binary file not shown.

Diff for: .gradle/5.1.1/fileHashes/fileHashes.lock

17 Bytes
Binary file not shown.

Diff for: .gradle/5.1.1/gc.properties

Whitespace-only changes.

Diff for: .gradle/buildOutputCleanup/buildOutputCleanup.lock

17 Bytes
Binary file not shown.

Diff for: .gradle/buildOutputCleanup/cache.properties

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#Tue Sep 17 11:40:54 CST 2019
2+
gradle.version=5.1.1

Diff for: .gradle/vcs-1/gc.properties

Whitespace-only changes.

Diff for: android/.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Modify this file to customize your launch splash screen -->
3+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:drawable="?android:colorBackground" />
5+
6+
<!-- You can insert your own image assets here -->
7+
<!-- <item>
8+
<bitmap
9+
android:gravity="center"
10+
android:src="@mipmap/launch_image" />
11+
</item> -->
12+
</layer-list>

Diff for: android/app/src/main/res/values-night/styles.xml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
4+
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
5+
<!-- Show a splash screen on the activity. Automatically removed when
6+
Flutter draws its first frame -->
7+
<item name="android:windowBackground">@drawable/launch_background</item>
8+
</style>
9+
<!-- Theme applied to the Android Window as soon as the process has started.
10+
This theme determines the color of the Android Window while your
11+
Flutter UI initializes, as well as behind your Flutter UI while its
12+
running.
13+
14+
This Theme is only used starting with V2 of Flutter's Android embedding. -->
15+
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
16+
<item name="android:windowBackground">?android:colorBackground</item>
17+
</style>
18+
</resources>

Diff for: android/settings_aar.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include ':app'

Diff for: ios/.gitignore

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>PreviewsEnabled</key>
6+
<false/>
7+
</dict>
8+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>PreviewsEnabled</key>
6+
<false/>
7+
</dict>
8+
</plist>

Diff for: lib/generated_plugin_registrant.dart

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
//
2+
// Generated file. Do not edit.
3+
//
4+
5+
// ignore_for_file: directives_ordering
6+
// ignore_for_file: lines_longer_than_80_chars
7+
8+
import 'package:ai_barcode_web/ai_barcode_web.dart';
9+
import 'package:connectivity_for_web/connectivity_for_web.dart';
10+
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
11+
import 'package:image_picker_for_web/image_picker_for_web.dart';
12+
import 'package:shared_preferences_web/shared_preferences_web.dart';
13+
import 'package:url_launcher_web/url_launcher_web.dart';
14+
import 'package:video_player_web/video_player_web.dart';
15+
16+
// ignore: public_member_api_docs
17+
void registerPlugins(Registrar registrar) {
18+
AiBarcodeWebPlugin.registerWith(registrar);
19+
ConnectivityPlugin.registerWith(registrar);
20+
ImagePickerPlugin.registerWith(registrar);
21+
SharedPreferencesPlugin.registerWith(registrar);
22+
UrlLauncherPlugin.registerWith(registrar);
23+
VideoPlayerPlugin.registerWith(registrar);
24+
registrar.registerMessageHandler();
25+
}

Diff for: macos/.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Flutter-related
2+
**/Flutter/ephemeral/
3+
**/Pods/
4+
5+
# Xcode-related
6+
**/xcuserdata/

Diff for: macos/Flutter/Flutter-Debug.xcconfig

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2+
#include "ephemeral/Flutter-Generated.xcconfig"

Diff for: macos/Flutter/Flutter-Release.xcconfig

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2+
#include "ephemeral/Flutter-Generated.xcconfig"

Diff for: macos/Flutter/GeneratedPluginRegistrant.swift

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
//
2+
// Generated file. Do not edit.
3+
//
4+
5+
import FlutterMacOS
6+
import Foundation
7+
8+
import ai_barcode
9+
import connectivity_macos
10+
import shared_preferences_macos
11+
import url_launcher_macos
12+
13+
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
14+
AiBarcodePlugin.register(with: registry.registrar(forPlugin: "AiBarcodePlugin"))
15+
ConnectivityPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlugin"))
16+
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
17+
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
18+
}

Diff for: macos/Podfile

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
platform :osx, '10.11'
2+
3+
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
4+
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
5+
6+
project 'Runner', {
7+
'Debug' => :debug,
8+
'Profile' => :release,
9+
'Release' => :release,
10+
}
11+
12+
def flutter_root
13+
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
14+
unless File.exist?(generated_xcode_build_settings_path)
15+
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
16+
end
17+
18+
File.foreach(generated_xcode_build_settings_path) do |line|
19+
matches = line.match(/FLUTTER_ROOT\=(.*)/)
20+
return matches[1].strip if matches
21+
end
22+
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
23+
end
24+
25+
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
26+
27+
flutter_macos_podfile_setup
28+
29+
target 'Runner' do
30+
use_frameworks!
31+
use_modular_headers!
32+
33+
flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
34+
end
35+
36+
post_install do |installer|
37+
installer.pods_project.targets.each do |target|
38+
flutter_additional_macos_build_settings(target)
39+
end
40+
end

Diff for: macos/Podfile.lock

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
PODS:
2+
- ai_barcode (0.0.1):
3+
- FlutterMacOS
4+
- connectivity_macos (0.0.1):
5+
- FlutterMacOS
6+
- Reachability
7+
- FlutterMacOS (1.0.0)
8+
- Reachability (3.2)
9+
- shared_preferences_macos (0.0.1):
10+
- FlutterMacOS
11+
- url_launcher_macos (0.0.1):
12+
- FlutterMacOS
13+
14+
DEPENDENCIES:
15+
- ai_barcode (from `Flutter/ephemeral/.symlinks/plugins/ai_barcode/macos`)
16+
- connectivity_macos (from `Flutter/ephemeral/.symlinks/plugins/connectivity_macos/macos`)
17+
- FlutterMacOS (from `Flutter/ephemeral`)
18+
- shared_preferences_macos (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos`)
19+
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
20+
21+
SPEC REPOS:
22+
trunk:
23+
- Reachability
24+
25+
EXTERNAL SOURCES:
26+
ai_barcode:
27+
:path: Flutter/ephemeral/.symlinks/plugins/ai_barcode/macos
28+
connectivity_macos:
29+
:path: Flutter/ephemeral/.symlinks/plugins/connectivity_macos/macos
30+
FlutterMacOS:
31+
:path: Flutter/ephemeral
32+
shared_preferences_macos:
33+
:path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos
34+
url_launcher_macos:
35+
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
36+
37+
SPEC CHECKSUMS:
38+
ai_barcode: 54be7557c4f79e73988831b5e5b1d334349a14b7
39+
connectivity_macos: 9f30e9d0e67a0bc08a0c563ee82310b51ca6e818
40+
FlutterMacOS: 57701585bf7de1b3fc2bb61f6378d73bbdea8424
41+
Reachability: 33e18b67625424e47b6cde6d202dce689ad7af96
42+
shared_preferences_macos: 480ce071d0666e37cef23fe6c702293a3d21799e
43+
url_launcher_macos: 45af3d61de06997666568a7149c1be98b41c95d4
44+
45+
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
46+
47+
COCOAPODS: 1.10.1

0 commit comments

Comments
 (0)