Commit 4c4db723 by 吴春元

特种设备 1.0.3

parents
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
# Symbolication related
app.*.symbols
# Obfuscation related
app.*.map.json
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
version:
revision: "ead455963c12b453cdb2358cad34969c76daf180"
channel: "stable"
project_type: app
# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: ead455963c12b453cdb2358cad34969c76daf180
base_revision: ead455963c12b453cdb2358cad34969c76daf180
- platform: android
create_revision: ead455963c12b453cdb2358cad34969c76daf180
base_revision: ead455963c12b453cdb2358cad34969c76daf180
- platform: ios
create_revision: ead455963c12b453cdb2358cad34969c76daf180
base_revision: ead455963c12b453cdb2358cad34969c76daf180
- platform: linux
create_revision: ead455963c12b453cdb2358cad34969c76daf180
base_revision: ead455963c12b453cdb2358cad34969c76daf180
- platform: macos
create_revision: ead455963c12b453cdb2358cad34969c76daf180
base_revision: ead455963c12b453cdb2358cad34969c76daf180
- platform: web
create_revision: ead455963c12b453cdb2358cad34969c76daf180
base_revision: ead455963c12b453cdb2358cad34969c76daf180
- platform: windows
create_revision: ead455963c12b453cdb2358cad34969c76daf180
base_revision: ead455963c12b453cdb2358cad34969c76daf180
# User provided section
# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
# special_equipment_flutter
A new Flutter project.
## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.
# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml
linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at https://dart.dev/lints.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java
# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
**/*.keystore
**/*.jks
plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader)
}
}
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
//def keystorePropertiesFile = rootProject.file("key.properties")
//def keystoreProperties = new Properties()
//keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
android {
namespace "com.yzkj.special_equipment_flutter"
compileSdkVersion 34
// ndkVersion flutter.ndkVersion
ndkVersion '26.1.10909125'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.yzkj.special_equipment_flutter"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
// minSdkVersion flutter.minSdkVersion
minSdkVersion 22
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
// keyAlias 'equipment'
// keyPassword '000000'
// storeFile file('key/equipment.jks')
// storePassword '000000'
}
}
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}
flutter {
source '../..'
}
dependencies {
}
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<!--网络权限-->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!--存储-->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- 必要权限,安装权限 -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<!--拍照权限,允许访问摄像头进行拍照-->
<uses-permission android:name="android.permission.CAMERA" />
<!-- 闪光灯 -->
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
</manifest>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:name="${applicationName}"
android:icon="@mipmap/logo"
android:label="晋特保助手"
android:networkSecurityConfig="@xml/network_security_config">
<activity
android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<meta-data
android:name="com.baidu.lbsapi.API_KEY"
android:value="MLTXCbwvplKSFibkPCbmIbzDYN9WKQtq" />
</application>
<!--网络权限-->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!--存储-->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- 必要权限,安装权限 -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<!--拍照权限,允许访问摄像头进行拍照-->
<uses-permission android:name="android.permission.CAMERA" />
<!-- 闪光灯 -->
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
</manifest>
package com.yzkj.special_equipment_flutter
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
<?xml version="1.0" encoding="utf-8"?><!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/spalsh" />
<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
<?xml version="1.0" encoding="utf-8"?><!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/spalsh" />
<!-- You can insert your own image assets here -->
<!-- <item>-->
<!-- <bitmap-->
<!-- android:gravity="fill_horizontal"-->
<!-- android:src="@mipmap/ic_logo_f" />-->
<!-- </item>-->
</layer-list>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#ffffff" />
<corners
android:topLeftRadius="5dp"
android:topRightRadius="5dp" />
<size
android:width="300dp"
android:height="10dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:windowFullscreen">true</item>//全屏即无通知栏
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:windowFullscreen">true</item>//全屏即无通知栏
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
<?xml version="1.0" encoding="utf-8"?>
<paths>
<external-path
name="files_root"
path="Android/data/${applicationId}/" />
<external-path
name="external_storage_root"
path="." />
</paths>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="true">
<trust-anchors>
<certificates src="system" />
</trust-anchors>
</base-config>
</network-security-config>
\ No newline at end of file
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<!--网络权限-->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<!--存储-->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- 必要权限,安装权限 -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<!--拍照权限,允许访问摄像头进行拍照-->
<uses-permission android:name="android.permission.CAMERA" />
<!-- 闪光灯 -->
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
</manifest>
buildscript {
ext.kotlin_version = '1.9.0'
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
pluginManagement {
def flutterSdkPath = {
def properties = new Properties()
file("local.properties").withInputStream { properties.load(it) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
return flutterSdkPath
}
settings.ext.flutterSdkPath = flutterSdkPath()
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
plugins {
id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
}
}
include ":app"
apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle"
**/dgph
*.mode1v3
*.mode2v3
*.moved-aside
*.pbxuser
*.perspectivev3
**/*sync/
.sconsign.dblite
.tags*
**/.vagrant/
**/DerivedData/
Icon?
**/Pods/
**/.symlinks/
profile
xcuserdata
**/.generated/
Flutter/App.framework
Flutter/Flutter.framework
Flutter/Flutter.podspec
Flutter/Generated.xcconfig
Flutter/ephemeral/
Flutter/app.flx
Flutter/app.zip
Flutter/flutter_assets/
Flutter/flutter_export_environment.sh
ServiceDefinitions.json
Runner/GeneratedPluginRegistrant.*
# Exceptions to above rules.
!default.mode1v3
!default.mode2v3
!default.pbxuser
!default.perspectivev3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>App</string>
<key>CFBundleIdentifier</key>
<string>io.flutter.flutter.app</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>App</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>11.0</string>
</dict>
</plist>
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"
#include "Generated.xcconfig"
# Uncomment this line to define a global platform for your project
platform :ios, '15.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
target 'RunnerTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
# 以上为flutter自动生成的一些配置
# 加入以下权限申请列表代码
target.build_configurations.each do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
'PERMISSION_CAMERA=1',
'PERMISSION_PHOTOS=1',
'PERMISSION_PHOTOS_ADD_ONLY=1',
'PERMISSION_LOCATION=1',
'PERMISSION_NOTIFICATIONS=1',
]
end
# 权限申请列表结束
end
end
PODS:
- BaiduMapKit/Base (6.5.9)
- BaiduMapKit/Utils (6.5.9):
- BaiduMapKit/Base
- BMKLocationKit (2.0.9)
- camera_avfoundation (0.0.1):
- Flutter
- Flutter (1.0.0)
- flutter_baidu_mapapi_base (3.5.0):
- BaiduMapKit/Utils (= 6.5.9)
- Flutter
- flutter_bmflocation (3.5.0):
- BMKLocationKit (~> 2.0.9)
- Flutter
- flutter_image_compress_common (1.0.0):
- Flutter
- Mantle
- SDWebImage
- SDWebImageWebPCoder
- FMDB (2.7.5):
- FMDB/standard (= 2.7.5)
- FMDB/standard (2.7.5)
- image_gallery_saver (2.0.2):
- Flutter
- libwebp (1.3.2):
- libwebp/demux (= 1.3.2)
- libwebp/mux (= 1.3.2)
- libwebp/sharpyuv (= 1.3.2)
- libwebp/webp (= 1.3.2)
- libwebp/demux (1.3.2):
- libwebp/webp
- libwebp/mux (1.3.2):
- libwebp/demux
- libwebp/sharpyuv (1.3.2)
- libwebp/webp (1.3.2):
- libwebp/sharpyuv
- Mantle (2.2.0):
- Mantle/extobjc (= 2.2.0)
- Mantle/extobjc (2.2.0)
- package_info (0.0.1):
- Flutter
- path_provider_foundation (0.0.1):
- Flutter
- FlutterMacOS
- permission_handler_apple (9.1.1):
- Flutter
- photo_manager (2.0.0):
- Flutter
- FlutterMacOS
- SDWebImage (5.18.3):
- SDWebImage/Core (= 5.18.3)
- SDWebImage/Core (5.18.3)
- SDWebImageWebPCoder (0.14.2):
- libwebp (~> 1.0)
- SDWebImage/Core (~> 5.17)
- sensors_plus (0.0.1):
- Flutter
- shared_preferences_foundation (0.0.1):
- Flutter
- FlutterMacOS
- sqflite (0.0.3):
- Flutter
- FMDB (>= 2.7.5)
- url_launcher_ios (0.0.1):
- Flutter
- video_player_avfoundation (0.0.1):
- Flutter
- FlutterMacOS
- webview_flutter_wkwebview (0.0.1):
- Flutter
DEPENDENCIES:
- camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/ios`)
- Flutter (from `Flutter`)
- flutter_baidu_mapapi_base (from `.symlinks/plugins/flutter_baidu_mapapi_base/ios`)
- flutter_bmflocation (from `.symlinks/plugins/flutter_bmflocation/ios`)
- flutter_image_compress_common (from `.symlinks/plugins/flutter_image_compress_common/ios`)
- image_gallery_saver (from `.symlinks/plugins/image_gallery_saver/ios`)
- package_info (from `.symlinks/plugins/package_info/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
- photo_manager (from `.symlinks/plugins/photo_manager/ios`)
- sensors_plus (from `.symlinks/plugins/sensors_plus/ios`)
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
- sqflite (from `.symlinks/plugins/sqflite/ios`)
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
- video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`)
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
SPEC REPOS:
trunk:
- BaiduMapKit
- BMKLocationKit
- FMDB
- libwebp
- Mantle
- SDWebImage
- SDWebImageWebPCoder
EXTERNAL SOURCES:
camera_avfoundation:
:path: ".symlinks/plugins/camera_avfoundation/ios"
Flutter:
:path: Flutter
flutter_baidu_mapapi_base:
:path: ".symlinks/plugins/flutter_baidu_mapapi_base/ios"
flutter_bmflocation:
:path: ".symlinks/plugins/flutter_bmflocation/ios"
flutter_image_compress_common:
:path: ".symlinks/plugins/flutter_image_compress_common/ios"
image_gallery_saver:
:path: ".symlinks/plugins/image_gallery_saver/ios"
package_info:
:path: ".symlinks/plugins/package_info/ios"
path_provider_foundation:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
permission_handler_apple:
:path: ".symlinks/plugins/permission_handler_apple/ios"
photo_manager:
:path: ".symlinks/plugins/photo_manager/ios"
sensors_plus:
:path: ".symlinks/plugins/sensors_plus/ios"
shared_preferences_foundation:
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
sqflite:
:path: ".symlinks/plugins/sqflite/ios"
url_launcher_ios:
:path: ".symlinks/plugins/url_launcher_ios/ios"
video_player_avfoundation:
:path: ".symlinks/plugins/video_player_avfoundation/darwin"
webview_flutter_wkwebview:
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"
SPEC CHECKSUMS:
BaiduMapKit: 5ec1c4dda6a55be048cf82f6eb09b2891ec85de8
BMKLocationKit: 29576a1a804c9defaeae258516591eee015a03d6
camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
flutter_baidu_mapapi_base: f976bdf4e870e4fcd40f8ea40cdadfb4e46d3749
flutter_bmflocation: 7ab7efb92d79715fd3c3217075ad97ad18a748b1
flutter_image_compress_common: ec1d45c362c9d30a3f6a0426c297f47c52007e3e
FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
image_gallery_saver: cb43cc43141711190510e92c460eb1655cd343cb
libwebp: 1786c9f4ff8a279e4dac1e8f385004d5fc253009
Mantle: c5aa8794a29a022dfbbfc9799af95f477a69b62d
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
photo_manager: 4f6810b7dfc4feb03b461ac1a70dacf91fba7604
SDWebImage: 96e0c18ef14010b7485210e92fac888587ebb958
SDWebImageWebPCoder: 633b813fca24f1de5e076bcd7f720c038b23892b
sensors_plus: 4ee32bc7d61a055f27f88d3215ad6b6fb96a2b8e
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
sqflite: 31f7eba61e3074736dff8807a9b41581e4f7f15a
url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b
video_player_avfoundation: 8563f13d8fc8b2c29dc2d09e60b660e4e8128837
webview_flutter_wkwebview: 2e2d318f21a5e036e2c3f26171342e95908bd60a
PODFILE CHECKSUM: 144706204f46cbb4d453b415fc86192e82ffd57e
COCOAPODS: 1.14.2
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreviewsEnabled</key>
<false/>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "331C8080294A63A400263BE5"
BuildableName = "RunnerTests.xctest"
BlueprintName = "RunnerTests"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Profile"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "97C146ED1CF9000F007C117D"
BuildableName = "Runner.app"
BlueprintName = "Runner"
ReferencedContainer = "container:Runner.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:Runner.xcodeproj">
</FileRef>
<FileRef
location = "group:Pods/Pods.xcodeproj">
</FileRef>
</Workspace>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PreviewsEnabled</key>
<false/>
</dict>
</plist>
import UIKit
import Flutter
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
// Thread.sleep(forTimeInterval: 0.5) // 延迟1秒
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}
{
"images" : [
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
},
{
"size" : "20x20",
"idiom" : "iphone",
"filename" : "Icon-App-20x20@3x.png",
"scale" : "3x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "iphone",
"filename" : "Icon-App-29x29@3x.png",
"scale" : "3x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "iphone",
"filename" : "Icon-App-40x40@3x.png",
"scale" : "3x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@2x.png",
"scale" : "2x"
},
{
"size" : "60x60",
"idiom" : "iphone",
"filename" : "Icon-App-60x60@3x.png",
"scale" : "3x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@1x.png",
"scale" : "1x"
},
{
"size" : "20x20",
"idiom" : "ipad",
"filename" : "Icon-App-20x20@2x.png",
"scale" : "2x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@1x.png",
"scale" : "1x"
},
{
"size" : "29x29",
"idiom" : "ipad",
"filename" : "Icon-App-29x29@2x.png",
"scale" : "2x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@1x.png",
"scale" : "1x"
},
{
"size" : "40x40",
"idiom" : "ipad",
"filename" : "Icon-App-40x40@2x.png",
"scale" : "2x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@1x.png",
"scale" : "1x"
},
{
"size" : "76x76",
"idiom" : "ipad",
"filename" : "Icon-App-76x76@2x.png",
"scale" : "2x"
},
{
"size" : "83.5x83.5",
"idiom" : "ipad",
"filename" : "Icon-App-83.5x83.5@2x.png",
"scale" : "2x"
},
{
"size" : "1024x1024",
"idiom" : "ios-marketing",
"filename" : "Icon-App-1024x1024@1x.png",
"scale" : "1x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
{
"images" : [
{
"idiom" : "universal",
"filename" : "LaunchImage.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "LaunchImage@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "LaunchImage@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
# Launch Screen Assets
You can customize the launch screen with your own desired assets by replacing the image files in this directory.
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.
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="22154" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_5" orientation="portrait" appearance="dark"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22130"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="Ydg-fD-yQy"/>
<viewControllerLayoutGuide type="bottom" id="xbc-2k-c8Z"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" misplaced="YES" image="LaunchImage" translatesAutoresizingMaskIntoConstraints="NO" id="YRO-k0-Ey4">
<rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
</imageView>
</subviews>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerX" secondItem="Ze5-6b-2t3" secondAttribute="centerX" id="1a2-6s-vTC"/>
<constraint firstAttribute="trailingMargin" secondItem="YRO-k0-Ey4" secondAttribute="trailing" id="3Ev-uV-6ff"/>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="centerY" id="4X2-HB-R7a"/>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="top" secondItem="Ydg-fD-yQy" secondAttribute="bottom" id="4bJ-II-jm5"/>
<constraint firstItem="xbc-2k-c8Z" firstAttribute="top" secondItem="YRO-k0-Ey4" secondAttribute="bottom" id="7wl-M2-4dW"/>
<constraint firstAttribute="trailing" secondItem="YRO-k0-Ey4" secondAttribute="trailing" id="X0E-Ct-Rrm"/>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leadingMargin" id="fV9-Yl-KBk"/>
<constraint firstAttribute="bottom" secondItem="YRO-k0-Ey4" secondAttribute="bottom" id="kBy-RD-EXf"/>
<constraint firstItem="YRO-k0-Ey4" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="vIZ-dX-gdm"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="76.92307692307692" y="262.32227488151659"/>
</scene>
</scenes>
<resources>
<image name="LaunchImage" width="360" height="640"/>
</resources>
</document>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="10117" systemVersion="15F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="10085"/>
</dependencies>
<scenes>
<!--Flutter View Controller-->
<scene sceneID="tne-QT-ifu">
<objects>
<viewController id="BYZ-38-t0r" customClass="FlutterViewController" sceneMemberID="viewController">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
<viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
</layoutGuides>
<view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
</objects>
</scene>
</scenes>
</document>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PermissionGroupNotification</key>
<string>Notification</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>晋特保助手需要获取位置权限,用于定位特种设备日管控检查位置信息</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>晋特保助手需要获取位置权限,用于定位特种设备日管控检查位置信息</string>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>晋特保助手</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>晋特保助手</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>晋特保助手需要获取相机权限,用于特种设备日管控检查拍照</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>晋特保助手需要获取位置权限,用于定位特种设备日管控检查位置信息</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>晋特保助手需要获取相册权限,用于特种设备日管控检查拍照图片存储</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>晋特保助手需要获取相册权限,用于特种设备日管控检查拍照图片存储</string>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
#import "GeneratedPluginRegistrant.h"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>
import Flutter
import UIKit
import XCTest
class RunnerTests: XCTestCase {
func testExample() {
// If you add code to the Runner application, consider adding tests here.
// See https://developer.apple.com/documentation/xctest for more information about using XCTest.
}
}
// ignore_for_file: constant_identifier_names
import 'package:flutter/material.dart';
class ColorConst {
static const int _themeBgColor = 0xFF3469C1;
// static const int _themeBgColor = 0xFF4C74F4;
static const Color dividerColor = Color(0xffe5e5e5);
static const MaterialColor themeBgColor = MaterialColor(
_themeBgColor,
<int, Color>{
50: Color(0xFFE3F2FD),
100: Color(0xFFBBDEFB),
200: Color(0xFF90CAF9),
300: Color(0xFF64B5F6),
400: Color(0xFF42A5F5),
500: Color(_themeBgColor),
600: Color(0xFF1E88E5),
700: Color(0xFF1976D2),
800: Color(0xFF1565C0),
900: Color(0xFF0D47A1),
},
);
static const Color dark6Color = Color(0xff666666);
static const Color dark9Color = Color(0xff999999);
static const Color greyB2Color = Color(0xffb2b2b2);
static const Color greyC2Color = Color(0xffc2c2c2);
static const Color greyD2Color = Color(0xffd2d2d2);
static const Color greyE2Color = Color(0xffe2e2e2);
static const Color greyF2Color = Color(0xfff2f2f2);
static const Color greyF8Color = Color(0xfff8f8f8);
static const Color greyEFEFEFColor = Color(0xffEFEFEF);
static const Color grayf5Color = Color(0xFFF5F5F5);
static const Color whiteColor = Color(0xffFFFFFF);
//static const Color aBgColor = Color(0x0a000000);
static const Color mainBgMatchColor = Colors.white;
static const Color tabBar_gb = themeBgColor;
static const Color tabBar_tab = mainBgMatchColor;
static const Color tabBar_tab_un = greyD2Color;
static const Color main2Color = Color(0XFF2FA3EA);
static const Color red1BgColor = Color(0xFFFB0000);
static const Color red2BgColor = Color(0xFFEF5350);
static const Color red3BgColor = Color(0xFFFFBEBA);
static const Color red4BgColor = Color(0xFFFFDFDD);
static const Color legendaryBgColor = Color(0xFFFCF0E8);
static const Color orangeColor = Color(0xFFE0620D);
static const Color orange1Color = Color(0xFFE98D5C);
static const Color orange2Color = Color(0xFFFBBE96);
static const Color greenColor = Color(0xFF54C169);
static const Color green1Color = Color(0xFFCEECD2);
static const Color blackColor = Color(0xFF000000);
static const Color black2Color = Color(0xFF4F4F4F);
static const Color yellowColor = Color(0xFFFCCA00);
static const Color yellow1Color = Color(0xFFF4E7C2);
static const Color blueColor = Color(_themeBgColor);
static const Color blue1Color = Color(0xFF64B5F6);
static const Color blue2Color = Color(0xFFCBDDFF);
static const Color blue3Color = Color(0xFFE0EDFF);
static const Color blue4Color = Color(0xFF1E88E5);
static const Color blueBgColor = Color(0xFFE1EAFF);
static const Color blueBg1Color = Color(0xFFCAD4FA);
static const Color blueBg2Color = Color(0xFFE0E7FD);
static const Color purpleColor = Color(0xFF591BB7);
}
// ignore_for_file: constant_identifier_names, file_names
class EdgeInsetsConst {
static const double padding_vertical = 12.0;
static const double padding_horizontal = 12.0;
static const double margin_vertical = 12.0;
static const double margin_horizontal = 12.0;
static const double icon_size14 = 14.0;
static const double icon_size13 = 13.0;
static const double icon_size12 = 15.0;
static const double single_choice_icon_size = 23.0;
}
// ignore_for_file: constant_identifier_names
class FontSizeConst {
static const double text_0s = 18.0;
static const double text_1s = 16.0;
static const double text_2s = 14.0;
static const double text_3s = 12.0;
static const double text_4s = 10.0;
static const double text_min = 10.0;
}
// ignore_for_file: constant_identifier_names
///图片链接
class ImageUrl {}
// ignore_for_file: constant_identifier_names
import 'package:get/get.dart';
import 'package:special_equipment_flutter/ui/login/login_page.dart';
import 'package:special_equipment_flutter/ui/main/tab_home_page.dart';
import 'package:special_equipment_flutter/ui/register/address_page.dart';
import 'package:special_equipment_flutter/ui/register/register_page1.dart';
import 'package:special_equipment_flutter/ui/register/register_page2.dart';
import 'package:special_equipment_flutter/ui/sy/details/day/day_completed_detail_sy_page.dart';
import 'package:special_equipment_flutter/ui/sy/details/day/day_inspect_submit_sy_page.dart';
import 'package:special_equipment_flutter/ui/sy/details/day/day_risk_submit_sy_page.dart';
import 'package:special_equipment_flutter/ui/sy/details/month/month_completed_detail_sy_page.dart';
import 'package:special_equipment_flutter/ui/sy/details/month/month_inspect_submit_sy_page.dart';
import 'package:special_equipment_flutter/ui/sy/details/month/month_risk_submit_sy_page.dart';
import 'package:special_equipment_flutter/ui/sy/details/week/week_completed_detail_sy_page.dart';
import 'package:special_equipment_flutter/ui/sy/details/week/week_inspect_submit_sy_page.dart';
import 'package:special_equipment_flutter/ui/sy/details/week/week_risk_submit_sy_page.dart';
import 'package:special_equipment_flutter/ui/sy/sy_tab_page.dart';
import 'package:special_equipment_flutter/ui/unit/equipment/equipment_settings_page.dart';
import 'package:special_equipment_flutter/ui/unit/equipment/equipment_tab_page.dart';
import 'package:special_equipment_flutter/ui/unit/unit/unit_settings_page.dart';
import 'package:special_equipment_flutter/ui/unit/user/user_list_page.dart';
import 'package:special_equipment_flutter/ui/unit/user/user_settings_page.dart';
class RouteString {
///登录
static const String LOGIN = "/login";
///注册
static const String REGISTER1 = "/register1";
static const String REGISTER2 = "/register2";
///注册:所属区域
static const String ADDRESS = "/address";
///用户列表
static const String UER_LIST = "/UerListPage";
///用户新建、修改
static const String USER_SETTINGS = "/UserSettingsPage";
///设备设置Tab
static const String EQUIPMENT_TAB = "/EquipmentTabPage";
///设备设置
static const String EQUIPMENT_SETTINGS = "/EquipmentSettingsPage";
///单位设置
static const String UNIT_SETTINGS = "/UnitSettingsPage";
///公司-首页-设备人员对比表格
static const String EQUIPMENT_PERSONNEL = "/EquipmentPersonnelPage";
///首页
static const String HOME = "/home";
///使用单位:日管控、周排查、月调度Tab列表
static const String TAB_SY = "/syTab";
///使用单位\生产单位:日管控 检查提交
static const String DAY_INSPECT_SUBMIT_SY = "/DayInspectSubmitSyPage";
///使用单位\生产单位:周排查 检查提交
static const String WEEK_INSPECT_SUBMIT_SY = "/WeekInspectSubmitSyPage";
///使用单位\生产单位:月调度 检查提交
static const String MONTH_INSPECT_SUBMIT_SY = "/MonthInspectSubmitSyPage";
///使用单位:日管控 风险整改提交
static const String DAY_RISK_SUBMIT_SY = "/DayRiskSubmitSyPage";
///使用单位:周排查 风险整改提交
static const String WEEK_RISK_SUBMIT_SY = "/WeekRiskSubmitSyPage";
///使用单位:月调度 风险整改提交
static const String MONTH_RISK_SUBMIT_SY = "/MonthRiskSubmitSyPage";
///使用单位:日管控 已完成详情
static const String DAY_COMPLETED_DETAIL_SY = "/DayCompletedDetailSyPage";
///使用单位:周排查 已完成详情
static const String WEEK_COMPLETED_DETAIL_SY = "/WeekCompletedDetailSyPage";
///使用单位:月调度 已完成详情
static const String MONTH_COMPLETED_DETAIL_SY = "/MonthCompletedDetailSyPage";
///生产单位:日管控、周排查、月调度Tab列表
static const String TAB_SC = "/scTabPage";
///生产单位:日管控、周排查、月调度 检查提交
static const String INSPECT_SUBMIT_SC = "/InspectSubmitSc";
///生产单位:日管控、周排查、月调度 风险整改提交
static const String RISK_SUBMIT_SC = "/RiskSubmitSc";
///生产单位:日管控、周排查、月调度 已完成详情
static const String COMPLETED_DETAIL_SC = "/CompletedDetailSc";
static final routes = [
///登录
GetPage(name: LOGIN, page: () => const LoginPage()),
///注册
GetPage(name: REGISTER1, page: () => const RegisterPage1()),
GetPage(name: REGISTER2, page: () => RegisterPage2()),
GetPage(name: ADDRESS, page: () => const AddressPage()),
///用户列表
GetPage(name: UER_LIST, page: () => const UserListPage()),
///用户新建、修改
GetPage(name: USER_SETTINGS, page: () => UserSettingsPage()),
///设备设置Tab
GetPage(name: EQUIPMENT_TAB, page: () => EquipmentTabPage()),
///设备设置
GetPage(name: EQUIPMENT_SETTINGS, page: () => EquipmentSettingsPage()),
///单位设置
GetPage(name: UNIT_SETTINGS, page: () => const UnitSettingsPage()),
///公司-首页-设备人员对比表格
// GetPage(name: EQUIPMENT_PERSONNEL, page: () => EquipmentPersonnelPage()),
///首页
GetPage(name: HOME, page: () => const HomePage()),
///使用单位:日管控、周排查、月调度Tab列表
GetPage(name: TAB_SY, page: () => SyTabPage()),
///使用单位:日管控 检查提交
GetPage(name: DAY_INSPECT_SUBMIT_SY, page: () => DayInspectSubmitSyPage()),
///使用单位:周排查 检查提交
GetPage(
name: WEEK_INSPECT_SUBMIT_SY, page: () => WeekInspectSubmitSyPage()),
///使用单位:月调度 检查提交
GetPage(
name: MONTH_INSPECT_SUBMIT_SY, page: () => MonthInspectSubmitSyPage()),
///使用单位:日管控 风险整改提交
GetPage(name: DAY_RISK_SUBMIT_SY, page: () => DayRiskSubmitSyPage()),
///使用单位:周排查 风险整改提交
GetPage(name: WEEK_RISK_SUBMIT_SY, page: () => WeekRiskSubmitSyPage()),
///使用单位:月调度 风险整改提交
GetPage(name: MONTH_RISK_SUBMIT_SY, page: () => MonthRiskSubmitSyPage()),
///使用单位:日管控 已完成详情
GetPage(
name: DAY_COMPLETED_DETAIL_SY, page: () => DayCompletedDetailSyPage()),
///使用单位:周排查 已完成详情
GetPage(
name: WEEK_COMPLETED_DETAIL_SY,
page: () => WeekCompletedDetailSyPage()),
///使用单位:月调度 已完成详情
GetPage(
name: MONTH_COMPLETED_DETAIL_SY,
page: () => MonthCompletedDetailSyPage()),
// GetPage(
// name: "/shop",
// page: () => const ShopPage(),
// middlewares: [ShopMiddleWare()]),
// GetPage(name: "/login", page: () => const LoginPage()),
// GetPage(
// name: "/registerFirst",
// page: () => const RegisterFirstPage(),
// transition: Transition.fade), // 单独指定某个路由页面切换效果
// GetPage(name: "/registerSecond", page: () => const RegisterSecondPage()),
// GetPage(name: "/registerThird", page: () => const RegisterThirdPage()),
];
}
// import 'package:get/get.dart';
//
// class PageRefreshController extends GetxController {
// RxList yourData = RxList([]);
//
// void updateData() {
// // 假设fetchData()是一个异步方法,用来从API获取新的数据
// List newData = await fetchData();
// if (newData != null) {
// yourData.value = newData;
// }
// }
// }
import 'package:get/get.dart';
class TabCountController extends GetxController {
///更新tab页面红点数字
var num1 = '0'.obs;
var num2 = '0'.obs;
}
// ignore_for_file: unnecessary_brace_in_string_interps, non_constant_identifier_names
class Api {
static var IS_DEBUG = false;
static String URL =
IS_DEBUG ? "https://special.sxyztech.cn/" : "http://192.168.19.215:8181/";
///演示 ip
// static String URL = "http://47.92.138.92:8009/";
// static String URL = "http://192.168.19.189:8181/";
// static String URL = "http://192.168.19.215:8181/";
static String START_URL = "special/a/",
END_URL = "__ajax=true&mobileLogin=true";
/// 登录
static String LOGIN_URL = "${URL + START_URL}login";
/// 退出登录
static String LOGIN_OUT = "${URL + START_URL}logoutApp";
/// 版本更新
static String VERSION_UPDATE_URL =
"${URL + START_URL}apk/apkVersion/updateApk";
/// 获取时间
static String GET_SYSTEM_TIME = "${URL + START_URL}sys/user/getSystemTime";
/// 获取日管控 数量
static String GET_DAY_COUNT =
"${URL + START_URL}task/daytask/taskDay/findUserAllTaskDayCount";
/// 获取周排查 数量
static String GET_WEEK_COUNT =
"${URL + START_URL}task/weektask/taskWeek/findUserAllTaskWeekCount";
/// 获取月调度 数量
static String GET_MONTH_COUNT =
"${URL + START_URL}task/monthtask/taskMonth/findUserAllTaskMonthCount";
/// 使用单位\生产单位-已完成列表
static String FIND_USER_ALLTASK_DAY_LIST =
"${URL + START_URL}task/daytask/taskDay/findUserAllTaskDay";
/// 使用单位\生产单位-日管控-已完成列表
static String TASK_DAY_LIST_PAGE =
"${URL + START_URL}task/daytask/taskDay/findAllTaskDayApp";
/// 使用单位\生产单位-月排查-已完成列表
static String TASK_WEEK_LIST_PAGE =
"${URL + START_URL}task/weektask/taskWeek/findAllTaskWeekApp";
/// 使用单位\生产单位-月排查-已完成列表
static String TASK_MONTH_LIST_PAGE =
"${URL + START_URL}task/monthtask/taskMonth/findAllTaskMonthApp";
/// 使用单位-周排查、风险整改、已完成列表
static String FIND_USER_ALLTASK_WEEK_LIST =
"${URL + START_URL}task/weektask/taskWeek/findUserAllTaskWeek";
/// 使用单位-月调度、风险整改、已完成列表
static String FIND_USER_ALLTASK_MONTH_LIST =
"${URL + START_URL}task/monthtask/taskMonth/findUserAllTaskMonth";
/// 使用单位-日管控-已完成详情
static String FIND_TASK_DAY_CHECK_LIST_TASKDAY =
"${URL + START_URL}task/daytask/taskDayCheck/findTaskDayCheckListByTaskDay";
/// 使用单位-周排查-已完成详情
static String FIND_TASK_DAY_CHECK_LIST_TASKWEEK =
"${URL + START_URL}task/weektask/taskWeekCheck/findTaskWeekCheckListByTaskWeek";
/// 使用单位-月调度-已完成详情
static String FIND_TASK_DAY_CHECK_LIST_TASKMONTH =
"${URL + START_URL}task/monthtask/taskMonthCheck/findTaskMonthCheckListByTaskMonth";
/// 使用单位-日管控、风险整改提交
static String TASK_DAY_SAVE =
"${URL + START_URL}task/daytask/taskDay/mySaveApp";
/// 使用单位-周排查、风险整改提交
static String TASK_WEEK_SAVE =
"${URL + START_URL}task/weektask/taskWeek/mySaveApp";
/// 使用单位-月调度、风险整改提交
static String TASK_MONTH_SAVE =
"${URL + START_URL}task/monthtask/taskMonth/mySaveApp";
/// 图片上传
static String UPLOAD_MULTIFILE =
"${URL + START_URL}task/daytask/taskDay/handleFileUploadBase64App";
/// list分页
static String LIST_URL =
"${URL + START_URL}safetymanagement/hiddentrouble/inspectControl/appList";
/// 工序管理
static String PROCESS_LIST_URL =
"${URL + START_URL}safetymanagement/hiddentrouble/inspectControl/appList";
/// 首页-日-统计图
static String SEVEN_DAY_COUNT =
"${URL + START_URL}task/daytask/taskDay/sevenDayCount";
/// 首页-日-统计图
static String SEVEN_WEEK_COUNT =
"${URL + START_URL}task/weektask/taskWeek/sevenWeekCount";
/// 首页-日-统计图
static String SEVEN_MONTH_COUNT =
"${URL + START_URL}task/monthtask/taskMonth/sevenMonthCount";
/// 地址
static String TREE_DATA = "${URL + START_URL}sys/area/treeData";
/// 设备
static String DEVICE_DATA = "${URL + START_URL}device/deviceType/data";
/// 获取角色
static String GET_APP_ROLES = "${URL + START_URL}sys/user/getDtoList";
/// 获取用户设备
static String GET_OFFICE = "${URL + START_URL}sys/office/getOffice";
/// 单位注册提交
static String REGISTER_APP_USER =
"${URL + START_URL}sys/register/registerAppUser";
/// 用户新建、修改提交接口
static String USER_SAVE_APP = "${URL + START_URL}sys/user/saveApp";
/// 用户删除
static String USER_DETELE = "${URL + START_URL}sys/user/deleteApp";
/// 设备新建、修改提交接口
static String DEVICE_SAVE_APP = "${URL + START_URL}device/deviceInfo/saveApp";
/// 单位提交接口
static String UNIT_SAVE_APP = "${URL + START_URL}sys/office/saveApp";
/// 设备删除
static String DEVICE_DETELE = "${URL + START_URL}device/deviceInfo/deleteApp";
/// 用户列表
static String USER_LIST = "${URL + START_URL}sys/user/list";
/// 设备列表 使用单位
static String SY_DEVICE_LIST = "${URL + START_URL}device/deviceInfo/data";
/// 设备列表 使用单位、生产单位
static String GET_PRODUCE_APP_LIST =
"${URL + START_URL}device/deviceInfo/getProduceAppList";
/// 获取用户信息
static String GET_APP_USER = "${URL + START_URL}sys/user/getAppUser";
/// 获取单位 设备人员对比
static String FIND_NATURE_DTO_LIST =
"${URL + START_URL}sys/user/findNatureDtoList";
/// 是否隐藏注册
static String GET_APP_IS_OPEN = "${URL + START_URL}sys/register/getAppIsOpen";
/// 公司账户-首页-设备对比表格 获取主要负责人
static String FIND_CHARGE_LIST = "${URL + START_URL}sys/user/findChargeList";
}
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment