├── .idea ├── .name ├── runConfigurations │ ├── melos_flutter_run_example.xml │ ├── melos_flutter_run_flutter_ume_kit_shared_preferences.xml │ ├── melos_clean.xml │ └── melos_bootstrap.xml └── modules.xml ├── example ├── 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 │ │ │ │ ├── java │ │ │ │ │ └── com │ │ │ │ │ │ └── example │ │ │ │ │ │ └── example │ │ │ │ │ │ └── MainActivity.java │ │ │ │ └── AndroidManifest.xml │ │ │ ├── debug │ │ │ │ └── AndroidManifest.xml │ │ │ └── profile │ │ │ │ └── AndroidManifest.xml │ │ └── build.gradle │ ├── gradle │ │ └── wrapper │ │ │ └── gradle-wrapper.properties │ ├── .gitignore │ ├── settings.gradle │ └── build.gradle ├── macos │ ├── Runner │ │ ├── Configs │ │ │ ├── Debug.xcconfig │ │ │ ├── Release.xcconfig │ │ │ ├── Warnings.xcconfig │ │ │ └── AppInfo.xcconfig │ │ ├── Assets.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ ├── app_icon_1024.png │ │ │ │ ├── app_icon_128.png │ │ │ │ ├── app_icon_16.png │ │ │ │ ├── app_icon_256.png │ │ │ │ ├── app_icon_32.png │ │ │ │ ├── app_icon_512.png │ │ │ │ ├── app_icon_64.png │ │ │ │ └── Contents.json │ │ ├── AppDelegate.swift │ │ ├── Release.entitlements │ │ ├── DebugProfile.entitlements │ │ ├── MainFlutterWindow.swift │ │ └── Info.plist │ ├── .gitignore │ ├── Flutter │ │ ├── Flutter-Debug.xcconfig │ │ ├── Flutter-Release.xcconfig │ │ └── GeneratedPluginRegistrant.swift │ ├── Runner.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── Runner.xcodeproj │ │ └── project.xcworkspace │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── Podfile │ └── Podfile.lock ├── ios │ ├── Flutter │ │ ├── Debug.xcconfig │ │ ├── Release.xcconfig │ │ └── AppFrameworkInfo.plist │ ├── Runner │ │ ├── AppDelegate.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 │ │ ├── main.m │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ ├── Main.storyboard │ │ │ └── LaunchScreen.storyboard │ │ └── Info.plist │ ├── Runner.xcodeproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ ├── Runner.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ └── IDEWorkspaceChecks.plist │ ├── .gitignore │ ├── Podfile │ └── Podfile.lock ├── README.md ├── .gitignore ├── lib │ └── database_testcase │ │ ├── data │ │ └── data.dart │ │ └── setup.dart ├── test │ └── widget_test.dart ├── pubspec_overrides.yaml ├── .metadata └── analysis_options.yaml ├── packages ├── flutter_ume_kit_database_kit │ ├── lib │ │ ├── src │ │ │ ├── helper │ │ │ │ ├── helpers.dart │ │ │ │ ├── hive_helper.dart │ │ │ │ └── shared_preferences_helper.dart │ │ │ ├── data │ │ │ │ ├── icon.dart │ │ │ │ ├── databases.dart │ │ │ │ ├── hive_database.dart │ │ │ │ └── shared_preferences_database.dart │ │ │ └── database_manager.dart │ │ └── database_kit.dart │ ├── CHANGELOG.md │ ├── test │ │ └── databases_of_kit_test.dart │ ├── analysis_options.yaml │ ├── .metadata │ ├── .gitignore │ ├── LICENSE │ ├── pubspec.yaml │ └── README.md ├── flutter_ume_kit_shared_preferences │ ├── 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 │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ ├── WorkspaceSettings.xcsettings │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── Podfile.lock │ │ ├── .gitignore │ │ └── Podfile │ ├── 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 │ │ │ │ │ │ │ └── example │ │ │ │ │ │ │ └── flutter_ume_kit_shared_preferences │ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ ├── debug │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ └── profile │ │ │ │ │ └── AndroidManifest.xml │ │ │ └── build.gradle │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ └── gradle-wrapper.properties │ │ ├── .gitignore │ │ ├── settings.gradle │ │ └── build.gradle │ ├── macos │ │ ├── .gitignore │ │ ├── Runner │ │ │ ├── Configs │ │ │ │ ├── Debug.xcconfig │ │ │ │ ├── Release.xcconfig │ │ │ │ ├── Warnings.xcconfig │ │ │ │ └── AppInfo.xcconfig │ │ │ ├── Assets.xcassets │ │ │ │ └── AppIcon.appiconset │ │ │ │ │ ├── app_icon_128.png │ │ │ │ │ ├── app_icon_16.png │ │ │ │ │ ├── app_icon_256.png │ │ │ │ │ ├── app_icon_32.png │ │ │ │ │ ├── app_icon_512.png │ │ │ │ │ ├── app_icon_64.png │ │ │ │ │ ├── app_icon_1024.png │ │ │ │ │ └── Contents.json │ │ │ ├── AppDelegate.swift │ │ │ ├── Release.entitlements │ │ │ ├── DebugProfile.entitlements │ │ │ ├── MainFlutterWindow.swift │ │ │ └── Info.plist │ │ ├── Flutter │ │ │ ├── Flutter-Debug.xcconfig │ │ │ ├── Flutter-Release.xcconfig │ │ │ └── GeneratedPluginRegistrant.swift │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── Runner.xcodeproj │ │ │ └── project.xcworkspace │ │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── Podfile.lock │ │ └── Podfile │ ├── lib │ │ ├── flutter_ume_kit_shared_preferences.dart │ │ ├── icon_data.dart │ │ └── main.dart │ ├── CHANGELOG.md │ ├── test │ │ ├── mock_classes.dart │ │ └── shared_preferences_test.dart │ ├── .metadata │ ├── README.md │ ├── .gitignore │ ├── LICENSE │ ├── analysis_options.yaml │ └── pubspec.yaml ├── flutter_ume_kit_designer_check │ ├── README.md │ ├── lib │ │ ├── .DS_Store │ │ └── flutter_ume_kit_designer_check.dart │ ├── CHANGELOG.md │ ├── pubspec.yaml │ ├── LICENSE │ ├── .flutter-plugins │ ├── melos_flutter_ume_kit_designer_check.iml │ └── .flutter-plugins-dependencies ├── flutter_ume_kit_slow_animation │ ├── lib │ │ ├── .DS_Store │ │ └── flutter_ume_kit_slow_animation.dart │ ├── CHANGELOG.md │ ├── README.md │ ├── .flutter-plugins │ ├── LICENSE │ ├── melos_flutter_ume_kit_slow_animation.iml │ ├── pubspec.yaml │ └── .flutter-plugins-dependencies ├── flutter_ume_kit_dio │ ├── lib │ │ ├── flutter_ume_kit_dio.dart │ │ └── src │ │ │ ├── constants │ │ │ ├── constants.dart │ │ │ └── extensions.dart │ │ │ ├── instances.dart │ │ │ ├── pluggable.dart │ │ │ ├── containers │ │ │ └── http_container.dart │ │ │ └── models │ │ │ └── http_interceptor.dart │ ├── test │ │ ├── mock_classes.dart │ │ └── pluggable_test.dart │ ├── .metadata │ ├── CHANGELOG.md │ ├── pubspec.yaml │ ├── README_cn.md │ ├── README.md │ ├── coverage_badge.svg │ ├── LICENSE │ └── .gitignore └── flutter_ume_kit_clean_local_data │ ├── CHANGELOG.md │ ├── test │ ├── mock_classes.dart │ └── clean_local_data_of_kit_test.dart │ ├── analysis_options.yaml │ ├── README.md │ ├── pubspec.yaml │ ├── lib │ ├── icon.dart │ ├── util.dart │ └── clean_local_data.dart │ └── LICENSE ├── melos.yaml ├── melos_flutter_ume_kits.iml ├── .gitignore └── LICENSE /.idea/.name: -------------------------------------------------------------------------------- 1 | flutter_ume_kits -------------------------------------------------------------------------------- /example/web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/web/favicon.png -------------------------------------------------------------------------------- /example/web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/web/icons/Icon-192.png -------------------------------------------------------------------------------- /example/web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/web/icons/Icon-512.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/lib/src/helper/helpers.dart: -------------------------------------------------------------------------------- 1 | 2 | 3 | abstract class UmeDatabaseHelper {} 4 | 5 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /example/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /example/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /example/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /example/web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /example/web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /example/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_designer_check/README.md: -------------------------------------------------------------------------------- 1 | ## flutter_ume_kit_designer_check 2 | 3 | designer_check 设计师比对工具 4 | 5 | ## 使用方法 6 | 7 | 见录屏 -------------------------------------------------------------------------------- /example/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /example/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /example/ios/Runner/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : FlutterAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_designer_check/lib/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_designer_check/lib/.DS_Store -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_slow_animation/lib/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_slow_animation/lib/.DS_Store -------------------------------------------------------------------------------- /packages/flutter_ume_kit_designer_check/lib/flutter_ume_kit_designer_check.dart: -------------------------------------------------------------------------------- 1 | library flutter_ume_kit_designer_check; 2 | 3 | export 'src/designer_check.dart'; 4 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/xcuserdata/ 7 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /melos.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_ume_kits 2 | 3 | packages: 4 | - packages/** 5 | - example 6 | 7 | command: 8 | bootstrap: 9 | usePubspecOverrides: true 10 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # flutter_ume_kit_database_kit 2 | 3 | ## 0.0.2 4 | 5 | Remove snapshots in package 6 | 7 | ## 0.0.1 8 | 9 | Initial commit. -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/lib/flutter_ume_kit_dio.dart: -------------------------------------------------------------------------------- 1 | library flutter_ume_kit_dio; 2 | 3 | export 'src/models/http_interceptor.dart'; 4 | export 'src/pluggable.dart'; 5 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_slow_animation/lib/flutter_ume_kit_slow_animation.dart: -------------------------------------------------------------------------------- 1 | library flutter_ume_kit_slow_animation; 2 | 3 | export 'slow_animation/slow_animation.dart'; 4 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_designer_check/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # flutter_ume_kit_designer_check 2 | 3 | ## 0.0.2 4 | 5 | Remove snapshots in package 6 | 7 | ## 0.0.1 8 | 9 | Initial commit. -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/lib/flutter_ume_kit_shared_preferences.dart: -------------------------------------------------------------------------------- 1 | library flutter_ume_kit_shared_preferences; 2 | export 'shared_preferences_inspector.dart'; 3 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_slow_animation/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # flutter_ume_kit_slow_animation 2 | 3 | ## 0.0.2 4 | 5 | Remove snapshots in package 6 | 7 | ## 0.0.1 8 | 9 | Initial commit. -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # flutter_ume_kit_clean_local_data 2 | 3 | ## 0.0.2 4 | 5 | Remove snapshots in package 6 | 7 | ## 0.0.1 8 | 9 | Initial commit. -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # flutter_ume_kit_shared_preferences 2 | 3 | ## 0.0.2 4 | 5 | Remove snapshots in package 6 | 7 | ## 0.0.1 8 | 9 | Initial commit. -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/test/databases_of_kit_test.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | void main() { 4 | WidgetsFlutterBinding.ensureInitialized(); 5 | 6 | } 7 | -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/test/mock_classes.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/widgets.dart'; 2 | import 'package:mockito/mockito.dart'; 3 | 4 | class MockContext extends Mock implements BuildContext {} 5 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/test/mock_classes.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/widgets.dart'; 2 | import 'package:mockito/mockito.dart'; 3 | 4 | class MockContext extends Mock implements BuildContext {} 5 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/test/mock_classes.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/widgets.dart'; 2 | import 'package:mockito/mockito.dart'; 3 | 4 | class MockContext extends Mock implements BuildContext {} 5 | -------------------------------------------------------------------------------- /example/android/app/src/main/java/com/example/example/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.example; 2 | 3 | import io.flutter.embedding.android.FlutterActivity; 4 | 5 | public class MainActivity extends FlutterActivity { 6 | } 7 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:flutter_lints/flutter.yaml 2 | 3 | # Additional information about this file can be found at 4 | # https://dart.dev/guides/language/analysis-options 5 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:flutter_lints/flutter.yaml 2 | 3 | # Additional information about this file can be found at 4 | # https://dart.dev/guides/language/analysis-options 5 | -------------------------------------------------------------------------------- /example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/lib/src/constants/constants.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// [Author] Alex (https://github.com/AlexV525) 3 | /// [Date] 2021/8/6 13:25 4 | /// 5 | const String DIO_EXTRA_START_TIME = 'ume_start_time'; 6 | const String DIO_EXTRA_END_TIME = 'ume_end_time'; 7 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip 6 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/README.md: -------------------------------------------------------------------------------- 1 | # flutter_ume_kit_clean_local_data 2 | 3 | ## 清除本地数据 4 | 5 | 当要清除App的缓存数据时,需要到系统设置找到App后再清除,比较麻烦。 6 | 7 | 本插件提供了清除本地数据的功能,一键清除所有沙盒缓存数据。 8 | 9 | 10 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cfug/flutter_ume_kits/HEAD/packages/flutter_ume_kit_shared_preferences/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /example/ios/Runner/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char* argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /example/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /example/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/kotlin/com/example/flutter_ume_kit_shared_preferences/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.flutter_ume_kit_shared_preferences 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /example/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/lib/database_kit.dart: -------------------------------------------------------------------------------- 1 | export 'src/database_panel.dart'; 2 | export 'src/database_manager.dart'; 3 | export 'src/data/databases.dart'; 4 | export 'src/data/sql_database.dart'; 5 | export 'src/data/hive_database.dart'; 6 | export 'src/data/shared_preferences_database.dart'; 7 | export 'src/helper/helpers.dart'; 8 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.idea/runConfigurations/melos_flutter_run_example.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /example/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 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_slow_animation/README.md: -------------------------------------------------------------------------------- 1 | ## flutter_ume_kit_slow_animation 2 | 3 | 慢速动画调节插件 4 | 5 | ## 使用方式 6 | 7 | ``` yaml 8 | dependencies: 9 | flutter_ume_kit_slow_animation: 10 | ``` 11 | 12 | ``` dart 13 | void main() { 14 | PluginManager.instance 15 | ..register(const SlowAnimation()); 16 | 17 | runApp(const UMEWidget(child: MyApp())); 18 | } 19 | ``` -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/.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: d79295af24c3ed621c33713ecda14ad196fd9c31 8 | channel: stable 9 | 10 | project_type: package 11 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/.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: c860cba910319332564e1e9d470a17074c1f2dfd 8 | channel: stable 9 | 10 | project_type: package 11 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/.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: f4abaa0735eba4dfd8f33f73363911d63931fe03 8 | channel: stable 9 | 10 | project_type: app 11 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /example/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. -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import shared_preferences_macos 9 | 10 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 11 | SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) 12 | } 13 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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. -------------------------------------------------------------------------------- /example/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/runConfigurations/melos_flutter_run_flutter_ume_kit_shared_preferences.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/lib/src/instances.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// [Author] Alex (https://github.com/AlexV525) 3 | /// [Date] 4/13/21 2:54 PM 4 | /// 5 | import 'containers/http_container.dart'; 6 | 7 | /// The inner singleton instance to keep containers. 8 | /// 9 | /// Currently we only have a http container here. 10 | class InspectorInstance { 11 | const InspectorInstance._(); 12 | 13 | static final HttpContainer httpContainer = HttpContainer(); 14 | } 15 | -------------------------------------------------------------------------------- /example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /example/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /example/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController.init() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /example/ios/Runner/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | #import "GeneratedPluginRegistrant.h" 3 | 4 | @implementation AppDelegate 5 | 6 | - (BOOL)application:(UIApplication *)application 7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 8 | [GeneratedPluginRegistrant registerWithRegistry:self]; 9 | // Override point for customization after application launch. 10 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 11 | } 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_designer_check/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_ume_kit_designer_check 2 | description: UI check tool for designer. 3 | version: 0.0.2 4 | homepage: https://github.com/cfug/flutter_ume_kit 5 | 6 | environment: 7 | sdk: ">=2.15.0 <3.0.0" 8 | flutter: ">=2.0.0" 9 | 10 | dependencies: 11 | flutter: 12 | sdk: flutter 13 | flutter_ume: '>=0.3.0 <0.4.0' 14 | image_picker: ^0.8.5 15 | 16 | dev_dependencies: 17 | flutter_test: 18 | sdk: flutter 19 | flutter_lints: ^1.0.0 20 | 21 | flutter: 22 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController.init() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | ## 1.0.1+2 4 | 5 | * 更新 README 6 | 7 | * Update README 8 | 9 | ## 1.0.1+1 10 | 11 | * 组织转移至 CFUG 12 | 13 | * CFUG will maintain the repo. 14 | 15 | ## 1.0.1 16 | 17 | * 组织转移至 CFUG 18 | 19 | * CFUG will maintain the repo. 20 | 21 | ## 1.0.0 22 | 23 | * 正式版 24 | 25 | * Normal version. 26 | 27 | ## 1.0.0-dev.0 28 | 29 | * 适配 Flutter 3 30 | 31 | * Adapt Flutter 3 32 | 33 | ## 0.3.0 34 | 35 | * 更新版本号 36 | 37 | * Update version 38 | 39 | ## 0.2.0-dev.0 40 | 41 | * Initial release. 42 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_ume_kit_clean_local_data 2 | description: Clean local data. 3 | version: 0.0.2 4 | homepage: https://github.com/cfug/flutter_ume_kit 5 | 6 | environment: 7 | sdk: ">=2.16.2 <3.0.0" 8 | flutter: ">=1.17.0" 9 | 10 | dependencies: 11 | flutter: 12 | sdk: flutter 13 | flutter_ume: '>=0.3.0 <0.4.0' 14 | path_provider: ^2.0.0 15 | data_size: ^0.2.0 16 | 17 | dev_dependencies: 18 | flutter_test: 19 | sdk: flutter 20 | flutter_lints: ^1.0.0 21 | mockito: ^5.0.12 22 | 23 | flutter: 24 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /melos_flutter_ume_kits.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | -------------------------------------------------------------------------------- /example/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import path_provider_macos 9 | import shared_preferences_macos 10 | import sqflite 11 | 12 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 13 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 14 | SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) 15 | SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) 16 | } 17 | -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- 1 | # example 2 | 3 | A new Flutter project. 4 | 5 | ## Getting Started 6 | 7 | This project is a starting point for a Flutter application. 8 | 9 | A few resources to get you started if this is your first Flutter project: 10 | 11 | - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) 12 | - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) 13 | 14 | For help getting started with Flutter development, view the 15 | [online documentation](https://docs.flutter.dev/), which offers tutorials, 16 | samples, guidance on mobile development, and a full API reference. 17 | -------------------------------------------------------------------------------- /.idea/runConfigurations/melos_clean.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/runConfigurations/melos_bootstrap.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_ume_kit_dio 2 | description: Dio kit for flutter_ume. 3 | version: 1.0.1+2 4 | homepage: https://github.com/cfug/flutter_ume_kits 5 | 6 | environment: 7 | sdk: ">=2.12.0 <3.0.0" 8 | flutter: ">=2.0.0" 9 | 10 | dependencies: 11 | flutter: 12 | sdk: flutter 13 | flutter_ume: ">=1.0.0 <2.0.0" 14 | 15 | dio: ^4.0.0 16 | 17 | dev_dependencies: 18 | flutter_test: 19 | sdk: flutter 20 | mockito: ^5.0.12 21 | flutter_coverage_badge: 22 | git: 23 | url: https://github.com/smileShirely/flutter_coverage_badge.git 24 | ref: 59b7580f406bb712e9d9049c8c99212946e34f65 25 | -------------------------------------------------------------------------------- /example/macos/Runner/Configs/Warnings.xcconfig: -------------------------------------------------------------------------------- 1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings 2 | GCC_WARN_UNDECLARED_SELECTOR = YES 3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES 4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE 5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES 6 | CLANG_WARN_PRAGMA_PACK = YES 7 | CLANG_WARN_STRICT_PROTOTYPES = YES 8 | CLANG_WARN_COMMA = YES 9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES 10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES 11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES 12 | GCC_WARN_SHADOW = YES 13 | CLANG_WARN_UNREACHABLE_CODE = YES 14 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - shared_preferences (0.0.1): 4 | - Flutter 5 | 6 | DEPENDENCIES: 7 | - Flutter (from `Flutter`) 8 | - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`) 9 | 10 | EXTERNAL SOURCES: 11 | Flutter: 12 | :path: Flutter 13 | shared_preferences: 14 | :path: ".symlinks/plugins/shared_preferences/ios" 15 | 16 | SPEC CHECKSUMS: 17 | Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a 18 | shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d 19 | 20 | PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c 21 | 22 | COCOAPODS: 1.11.3 23 | -------------------------------------------------------------------------------- /example/macos/Runner/Configs/AppInfo.xcconfig: -------------------------------------------------------------------------------- 1 | // Application-level settings for the Runner target. 2 | // 3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the 4 | // future. If not, the values below would default to using the project name when this becomes a 5 | // 'flutter create' template. 6 | 7 | // The application's name. By default this is also the title of the Flutter window. 8 | PRODUCT_NAME = example 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = com.example.example 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2022 com.example. All rights reserved. 15 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/.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 | # Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock. 25 | /pubspec.lock 26 | **/doc/api/ 27 | .dart_tool/ 28 | .packages 29 | build/ 30 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Configs/Warnings.xcconfig: -------------------------------------------------------------------------------- 1 | WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings 2 | GCC_WARN_UNDECLARED_SELECTOR = YES 3 | CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES 4 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE 5 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES 6 | CLANG_WARN_PRAGMA_PACK = YES 7 | CLANG_WARN_STRICT_PROTOTYPES = YES 8 | CLANG_WARN_COMMA = YES 9 | GCC_WARN_STRICT_SELECTOR_MATCH = YES 10 | CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES 11 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES 12 | GCC_WARN_SHADOW = YES 13 | CLANG_WARN_UNREACHABLE_CODE = YES 14 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/lib/src/constants/extensions.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// [Author] Alex (https://github.com/AlexV525) 3 | /// [Date] 2021/8/6 13:58 4 | /// 5 | import 'package:dio/dio.dart' show Response; 6 | 7 | import 'constants.dart'; 8 | 9 | extension ResponseExtension on Response { 10 | int get startTimeMilliseconds => 11 | requestOptions.extra[DIO_EXTRA_START_TIME] as int; 12 | 13 | int get endTimeMilliseconds => 14 | requestOptions.extra[DIO_EXTRA_END_TIME] as int; 15 | 16 | DateTime get startTime => 17 | DateTime.fromMillisecondsSinceEpoch(startTimeMilliseconds); 18 | 19 | DateTime get endTime => 20 | DateTime.fromMillisecondsSinceEpoch(endTimeMilliseconds); 21 | } 22 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/README.md: -------------------------------------------------------------------------------- 1 | # flutter_ume_kit_shared_preferences 2 | 3 | 基于UME下的shared_preferences插件,可以实时查看修改或删除所有shared_preferences缓存的key的值。 4 | 5 | ## 接入UME Example 6 | 7 | 只需把整个flutter_ume_kit_shared_preferences 放入kit中本地导入。修改pubspec如下 即可 8 | 9 | 10 | ``` 11 | flutter_ume_kit_shared_preferences: 12 | path: ../kits/flutter_ume_kit_shared_preferences 13 | 14 | ``` 15 | 16 | main.dart 新增如下代码,SharedPreferencesInspector模块即可带入UME主模块。 17 | 18 | ``` 19 | 20 | ..register(SharedPreferencesInspector()) 21 | 22 | ``` 23 | 24 | ## 不接入Example运行 25 | 26 | 不接入的话,本项目也带有demo main.dart可以直接运行,详情可以看screenshots下录制的视频。 实测支持iOS、安卓、macos。 理论所有shared_preferences插件支持的平台都支持,但是手上没有Linux、Windows平台机器。故而不做保证。 -------------------------------------------------------------------------------- /example/ios/.gitignore: -------------------------------------------------------------------------------- 1 | **/dgph 2 | *.mode1v3 3 | *.mode2v3 4 | *.moved-aside 5 | *.pbxuser 6 | *.perspectivev3 7 | **/*sync/ 8 | .sconsign.dblite 9 | .tags* 10 | **/.vagrant/ 11 | **/DerivedData/ 12 | Icon? 13 | **/Pods/ 14 | **/.symlinks/ 15 | profile 16 | xcuserdata 17 | **/.generated/ 18 | Flutter/App.framework 19 | Flutter/Flutter.framework 20 | Flutter/Flutter.podspec 21 | Flutter/Generated.xcconfig 22 | Flutter/ephemeral/ 23 | Flutter/app.flx 24 | Flutter/app.zip 25 | Flutter/flutter_assets/ 26 | Flutter/flutter_export_environment.sh 27 | ServiceDefinitions.json 28 | Runner/GeneratedPluginRegistrant.* 29 | 30 | # Exceptions to above rules. 31 | !default.mode1v3 32 | !default.mode2v3 33 | !default.pbxuser 34 | !default.perspectivev3 35 | -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.6.10' 3 | repositories { 4 | google() 5 | mavenCentral() 6 | } 7 | 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:7.1.2' 10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 11 | } 12 | } 13 | 14 | allprojects { 15 | repositories { 16 | google() 17 | mavenCentral() 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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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/ephemeral/ 22 | Flutter/app.flx 23 | Flutter/app.zip 24 | Flutter/flutter_assets/ 25 | Flutter/flutter_export_environment.sh 26 | ServiceDefinitions.json 27 | Runner/GeneratedPluginRegistrant.* 28 | 29 | # Exceptions to above rules. 30 | !default.mode1v3 31 | !default.mode2v3 32 | !default.pbxuser 33 | !default.perspectivev3 34 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Configs/AppInfo.xcconfig: -------------------------------------------------------------------------------- 1 | // Application-level settings for the Runner target. 2 | // 3 | // This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the 4 | // future. If not, the values below would default to using the project name when this becomes a 5 | // 'flutter create' template. 6 | 7 | // The application's name. By default this is also the title of the Flutter window. 8 | PRODUCT_NAME = flutter_ume_kit_shared_preferences 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = com.example.flutterUmeKitSharedPreferences 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2022 com.example. All rights reserved. 15 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FlutterMacOS (1.0.0) 3 | - shared_preferences_macos (0.0.1): 4 | - FlutterMacOS 5 | 6 | DEPENDENCIES: 7 | - FlutterMacOS (from `Flutter/ephemeral`) 8 | - shared_preferences_macos (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos`) 9 | 10 | EXTERNAL SOURCES: 11 | FlutterMacOS: 12 | :path: Flutter/ephemeral 13 | shared_preferences_macos: 14 | :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos 15 | 16 | SPEC CHECKSUMS: 17 | FlutterMacOS: 57701585bf7de1b3fc2bb61f6378d73bbdea8424 18 | shared_preferences_macos: 480ce071d0666e37cef23fe6c702293a3d21799e 19 | 20 | PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c 21 | 22 | COCOAPODS: 1.11.3 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | migrate_working_dir/ 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # The .vscode folder contains launch configuration and tasks you configure in 20 | # VS Code which you may wish to be included in version control, so this line 21 | # is commented out by default. 22 | #.vscode/ 23 | 24 | # Flutter/Dart/Pub related 25 | **/doc/api/ 26 | **/ios/Flutter/.last_build_id 27 | .dart_tool/ 28 | .flutter-plugins 29 | .flutter-plugins-dependencies 30 | .packages 31 | .pub-cache/ 32 | .pub/ 33 | /build/ 34 | 35 | # Symbolication related 36 | app.*.symbols 37 | 38 | # Obfuscation related 39 | app.*.map.json 40 | 41 | # Android Studio will place build artifacts here 42 | /android/app/debug 43 | /android/app/profile 44 | /android/app/release 45 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | # Miscellaneous 2 | *.class 3 | *.log 4 | *.pyc 5 | *.swp 6 | .DS_Store 7 | .atom/ 8 | .buildlog/ 9 | .history 10 | .svn/ 11 | migrate_working_dir/ 12 | 13 | # IntelliJ related 14 | *.iml 15 | *.ipr 16 | *.iws 17 | .idea/ 18 | 19 | # The .vscode folder contains launch configuration and tasks you configure in 20 | # VS Code which you may wish to be included in version control, so this line 21 | # is commented out by default. 22 | #.vscode/ 23 | 24 | # Flutter/Dart/Pub related 25 | **/doc/api/ 26 | **/ios/Flutter/.last_build_id 27 | .dart_tool/ 28 | .flutter-plugins 29 | .flutter-plugins-dependencies 30 | .packages 31 | .pub-cache/ 32 | .pub/ 33 | /build/ 34 | 35 | # Symbolication related 36 | app.*.symbols 37 | 38 | # Obfuscation related 39 | app.*.map.json 40 | 41 | # Android Studio will place build artifacts here 42 | /android/app/debug 43 | /android/app/profile 44 | /android/app/release 45 | -------------------------------------------------------------------------------- /example/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 | 11.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/lib/src/helper/hive_helper.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_ume_kit_database_kit/src/data/databases.dart'; 2 | import 'package:flutter_ume_kit_database_kit/src/data/hive_database.dart'; 3 | import 'package:flutter_ume_kit_database_kit/src/helper/helpers.dart'; 4 | import 'package:hive/hive.dart'; 5 | 6 | class HiveHelper implements UmeDatabaseHelper { 7 | Future> findAllTable(HiveDatabase database) async { 8 | List tableDatas = []; 9 | for (var boxItem in database.boxItems) { 10 | tableDatas.add(HiveTableData(boxItem.name, box: boxItem.box)); 11 | } 12 | return tableDatas; 13 | } 14 | 15 | Future>> findSingleBoxData( 16 | Box box) async { 17 | List> datas = []; 18 | // print(box.values); 19 | datas = box.values.map((d) => d.toJson()).toList(); 20 | return datas; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | 9.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/lib/src/data/icon.dart: -------------------------------------------------------------------------------- 1 | 2 | 3 | const icon = r'iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAmZJREFUWEft103IjlkYB/DfW7OQNJQsiJrSpLDw1RALNpIkUj4WLHyE1IxkQylMsVFvolmYGlkgX7sZiZKPJEQSM2Fe2SgkHysfO106t46n+3nu+36l1+I9dXqec87/us7/XOf6OHeXPm5dfby/757ABCzEjxic9fd4k/XLiP6hqUXLLDAZyzEb4xoofIszOIc/68rlBMZiI9bWFe6Au5VIVBIpCMTmJxqeuA7PsOSRTsCCwB/YUEdjQ0xYYkodAhcwq6HyuvCOkVYs9hPILTAPc7EAo+raGUUYXkmyxZU2voJcYGJS1jQR5QdqTGAN/mpw8gI6HauwukT2IE6lRPXFcjsnPIvTeIA7eF5BaD32YFAF7jBW5Ji6UfAOr7M+INWHuJroAxtYbC82FfgyAiexuIHC3kB3YGcIlhGIueEIB/wFM1sqYVTFH3qzayZzHdM6Eair/zF+qgAfx+9Ygu0Z9mf0lFngLo7iH9zroHxI8okc0pOsOjpNRjVcl/4H0SBctN+wv8oJH+Eq/m1xwpEYgV2ZwsCMT+O443DULdn6MSzNxpvRXUbgCWKDpu0hxrQRirwSOSJvK3GonRMuwiTMaFglw7Pj9Hnbh19LiM2Pa25HoBWfvwfzKOhO0ZLjcxK7sbVk8//T4V6UPUgibYYTnq9xB1NxrQQXvhOtcMZWSGTOAzHZ6Ul2HzdxMUVDngkj5Q7D0PSOXFaDbAGJR+ucYvCtHqXt+PydwvJpGYFirrfP8iojbGsJ20/4qi+jdh8mUZxe4hWepTzxX8oVETlRmuP3Em7gNj6fOmdaRaDqVF+93k/gI4N3gyGWA9CVAAAAAElFTkSuQmCC'; -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/.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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/README_cn.md: -------------------------------------------------------------------------------- 1 | # flutter_ume_kit_dio 2 | 3 | [English](./README.md) 4 | 5 | flutter_ume_kit_dio 是 [dio](https://pub.dev/packages/dio) 的调试工具,基于 [flutter_ume](https://pub.dev/packages/flutter_ume)。 6 | 7 | - [dio](https://pub.dev/packages/dio) 是一个 Dart/Flutter 的f强大的 HTTP 请求库。 8 | - [flutter_ume](https://pub.dev/packages/flutter_ume) 是一个 Flutter 应用内调试工具的平台。 9 | 10 | [![pub package](https://img.shields.io/pub/v/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 11 | [![pub package](https://img.shields.io/pub/likes/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 12 | [![pub package](https://img.shields.io/pub/points/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 13 | [![pub package](https://img.shields.io/pub/popularity/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 14 | [![pub package](https://img.shields.io/pub/publisher/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 15 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/README.md: -------------------------------------------------------------------------------- 1 | # flutter_ume_kit_dio 2 | 3 | [简体中文](./README_cn.md) 4 | 5 | flutter_ume_kit_dio is a [dio](https://pub.dev/packages/dio) debug kit of [flutter_ume](https://pub.dev/packages/flutter_ume). 6 | 7 | - [dio](https://pub.dev/packages/dio) is a powerful HTTP package for Dart/Flutter. 8 | - [flutter_ume](https://pub.dev/packages/flutter_ume) is an in-app debug kits platform for Flutter apps. 9 | 10 | [![pub package](https://img.shields.io/pub/v/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 11 | [![pub package](https://img.shields.io/pub/likes/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 12 | [![pub package](https://img.shields.io/pub/points/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 13 | [![pub package](https://img.shields.io/pub/popularity/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 14 | [![pub package](https://img.shields.io/pub/publisher/flutter_ume_kit_dio.svg)](https://pub.dev/packages/flutter_ume_kit_dio) 15 | -------------------------------------------------------------------------------- /example/web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "short_name": "example", 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 | "src": "icons/Icon-maskable-192.png", 24 | "sizes": "192x192", 25 | "type": "image/png", 26 | "purpose": "maskable" 27 | }, 28 | { 29 | "src": "icons/Icon-maskable-512.png", 30 | "sizes": "512x512", 31 | "type": "image/png", 32 | "purpose": "maskable" 33 | } 34 | ] 35 | } 36 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_slow_animation/.flutter-plugins: -------------------------------------------------------------------------------- 1 | # This is a generated file; do not edit or check into version control. 2 | path_provider_linux=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/path_provider_linux-2.1.7/ 3 | path_provider_windows=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/path_provider_windows-2.1.3/ 4 | shared_preferences=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences-2.0.15/ 5 | shared_preferences_android=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_android-2.0.14/ 6 | shared_preferences_ios=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_ios-2.1.1/ 7 | shared_preferences_linux=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_linux-2.1.1/ 8 | shared_preferences_macos=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_macos-2.0.4/ 9 | shared_preferences_web=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_web-2.0.4/ 10 | shared_preferences_windows=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_windows-2.1.1/ 11 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /example/android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/lib/icon.dart: -------------------------------------------------------------------------------- 1 | const iconData = 2 | r'iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAAAthJREFUeF7tmjusjUEQx3+XXkUkKtHRihvdJRJajQaNjkI8o/PuxFuBSoNCpRSJcDu5WpSikohEoffIxO61Weec2f327ve432x3zjez3/z/M7MzZ87OMfI1N3L8GAEWASNnwFJg5AHQ+SF41jngeleO6CoF9gL3gS0O+CfgGPCybSLaJmAzcAvYPwXoc+AU8LktItok4ApwPhHYVeBComyRWBsEHAZuAhsiSx8Bx91394Aj0fNvwGngcRFCRbkmATuAa8CuyIa3wAlgKfp+HrgD7Iy+fwOcA97VIKIWAQL6dWTwD+AkIJ6ftSQSbgPrIqHdgJCxoqstAm44L/5KtH6Ni54zgfxgCRCvifFNlkSRTyEjYKgpYBGwGlIgLmUp+eyrgETA5RSFCTIXozMgdxu1aqRWgd+5b+6JvIpPFXBAjADv0YX5TT1x7mQzFpe+hA9UB6sCcQT8/Hi01wSs3fbACAgYUB2sClgE/GVg+RAcfQr0+gD43zg1wlUBK4NRClgE0PkoXfNB2LSpEa4KTEiBVB3N0FrPjYCqfQCWAnYGTDsD4pmB9lu8lnxnZ0DuAPMSIAMPWTIwkc+zVjhqnzVmMwK6OgQtAjJn+JYCdgbYIWhVwMrgausDfAmWxkbrBKUKLDiFxcRGyEeMqE37x7mzRqjWz9vcfY2ArjrB2FPPgIfAq1wXFsr3IgIE/AHgu8vz94WgctQ7J8CD90Z/APYAX3NQFMh2SkAM3uOQNJDrsamXpArw//sTJ2V6lTrgTGE1Bi+lMCxbT4FDJcgSdVNsXd5qpQiIwUuNFwLuBrdB5aVy/0/uAtdc1QmY1OCE4y0P3oN8AhwMEGsNUik5oS2qg1UBZ03qDZEYvAfzAthXiqyBvopPFcggYBp42WI9ICRsbwCiREXFpwq4t6fcEtNCeyuwsQRNA13Npt7P+BtgzlNJjYC8XQckbQQMyFlVTLUIqELrgDb9A1e82EGbX4kCAAAAAElFTkSuQmCC'; 3 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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) 2022 CFUG (筹) 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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/coverage_badge.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | coverage 16 | coverage 17 | 30% 18 | 30% 19 | 20 | 21 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/lib/src/data/databases.dart: -------------------------------------------------------------------------------- 1 | 2 | 3 | /// an string typedef 4 | typedef TableName = String; 5 | 6 | abstract class UMEDatabase { 7 | String get databaseName; 8 | String? get databasePath; 9 | 10 | ///每次清空db数据和文件 11 | bool deleteDB() { 12 | throw UnimplementedError(); 13 | } 14 | } 15 | 16 | /// data update content 17 | abstract class UpdateConditions { 18 | String? get getUpdateNeedWhere; 19 | List? get getUpdateNeedcolumnKey; 20 | } 21 | 22 | 23 | class CustomDtabase extends UMEDatabase { 24 | CustomDtabase(this._databaseName); 25 | final String _databaseName; 26 | @override 27 | String get databaseName => _databaseName; 28 | @override 29 | String? get databasePath => null; 30 | } 31 | 32 | 33 | 34 | abstract class TableData { 35 | /// if it is sqlite the table name 36 | /// or if it is hive the box name 37 | /// or objectdb the name 38 | String tableName() { 39 | throw UnimplementedError(); 40 | } 41 | 42 | Map toJson(); 43 | } 44 | 45 | abstract class CloumnData { 46 | String columnName() { 47 | throw UnimplementedError(); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 CFUG (筹) 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 | -------------------------------------------------------------------------------- /example/lib/database_testcase/data/data.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_ume_kit_database_kit/database_kit.dart'; 2 | import 'package:hive/hive.dart'; 3 | part 'data.g.dart'; 4 | 5 | @HiveType(typeId: 0) 6 | class Person with UMEHiveData { 7 | Person({required this.age, required this.name}); 8 | @HiveField(0) 9 | String name; 10 | @HiveField(1) 11 | int age; 12 | 13 | @override 14 | Map toJson() { 15 | return {'name': name, 'age': age}; 16 | } 17 | } 18 | 19 | @HiveType(typeId: 1) 20 | class Table with UMEHiveData { 21 | Table({required this.age, required this.name}); 22 | @HiveField(0) 23 | String name; 24 | 25 | @HiveField(1) 26 | int age; 27 | 28 | @override 29 | Map toJson() { 30 | return {'name': name, 'age': age}; 31 | } 32 | } 33 | 34 | @HiveType(typeId: 2) 35 | class Test with UMEHiveData { 36 | Test({required this.age, required this.name}); 37 | @HiveField(0) 38 | String name; 39 | 40 | @HiveField(1) 41 | int age; 42 | 43 | @override 44 | Map toJson() { 45 | return {'name': name, 'age': age}; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 CFUG (筹) 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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_designer_check/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 CFUG (筹) 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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_slow_animation/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 CFUG (筹) 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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 CFUG (筹) 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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 CFUG (筹) 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 | -------------------------------------------------------------------------------- /example/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 in the flutter_test package. 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:example/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(const 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 | -------------------------------------------------------------------------------- /example/macos/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | $(PRODUCT_COPYRIGHT) 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | 32 | 33 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/lib/src/pluggable.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// [Author] Alex (https://github.com/AlexV525) 3 | /// [Date] 2021/8/6 11:24 4 | /// 5 | 6 | import 'package:flutter/material.dart'; 7 | import 'package:dio/dio.dart' show Dio; 8 | import 'package:flutter_ume/core/pluggable.dart'; 9 | 10 | import 'models/http_interceptor.dart'; 11 | import 'widgets/icon.dart' as icon; 12 | import 'widgets/pluggable_state.dart'; 13 | 14 | // TODO(Alex): Implement [PluggableStream] for dot features. 15 | /// Implement a [Pluggable] to integrate with UME. 16 | class DioInspector extends StatefulWidget implements Pluggable { 17 | DioInspector({Key? key, required this.dio}) : super(key: key) { 18 | dio.interceptors.add(UMEDioInterceptor()); 19 | } 20 | 21 | final Dio dio; 22 | 23 | @override 24 | DioPluggableState createState() => DioPluggableState(); 25 | 26 | @override 27 | ImageProvider get iconImageProvider => MemoryImage(icon.iconBytes); 28 | 29 | @override 30 | String get name => 'DioInspector'; 31 | 32 | @override 33 | String get displayName => 'DioInspector'; 34 | 35 | @override 36 | void onTrigger() {} 37 | 38 | @override 39 | Widget buildWidget(BuildContext? context) => this; 40 | } 41 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/build.gradle: -------------------------------------------------------------------------------- 1 | buildscript { 2 | ext.kotlin_version = '1.6.10' 3 | repositories { 4 | // google() 5 | // mavenCentral() 6 | maven { url 'https://maven.aliyun.com/repository/jcenter' } 7 | maven { url 'http://maven.aliyun.com/nexus/content/groups/public' } 8 | maven { url 'https://maven.aliyun.com/repository/google' } 9 | } 10 | 11 | dependencies { 12 | classpath 'com.android.tools.build:gradle:4.1.0' 13 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" 14 | } 15 | } 16 | 17 | allprojects { 18 | repositories { 19 | // google() 20 | maven { url 'https://maven.aliyun.com/repository/google' } 21 | maven { url 'https://maven.aliyun.com/repository/jcenter' } 22 | maven { url 'http://maven.aliyun.com/nexus/content/groups/public' } 23 | // mavenCentral() 24 | } 25 | } 26 | 27 | rootProject.buildDir = '../build' 28 | subprojects { 29 | project.buildDir = "${rootProject.buildDir}/${project.name}" 30 | } 31 | subprojects { 32 | project.evaluationDependsOn(':app') 33 | } 34 | 35 | task clean(type: Delete) { 36 | delete rootProject.buildDir 37 | } 38 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(FLUTTER_BUILD_NAME) 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | $(PRODUCT_COPYRIGHT) 27 | NSMainNibFile 28 | MainMenu 29 | NSPrincipalClass 30 | NSApplication 31 | 32 | 33 | -------------------------------------------------------------------------------- /example/pubspec_overrides.yaml: -------------------------------------------------------------------------------- 1 | # melos_managed_dependency_overrides: flutter_ume_kit_clean_local_data,flutter_ume_kit_designer_check,flutter_ume_kit_shared_preferences,flutter_ume_kit_slow_animation,flutter_ume_kit_database_kit,flutter_ume 2 | dependency_overrides: 3 | flutter_ume_kit_clean_local_data: 4 | path: ../packages/flutter_ume_kit_clean_local_data 5 | flutter_ume_kit_database_kit: 6 | path: ../packages/flutter_ume_kit_database_kit 7 | flutter_ume: ^1.1.1+1 8 | flutter_ume_kit_designer_check: 9 | path: ../packages/flutter_ume_kit_designer_check 10 | flutter_ume_kit_shared_preferences: 11 | path: ../packages/flutter_ume_kit_shared_preferences 12 | flutter_ume_kit_slow_animation: 13 | path: ../packages/flutter_ume_kit_slow_animation 14 | # flutter_ume_kit_clean_local_data: 15 | # path: ../packages/flutter_ume_kit_clean_local_data 16 | # flutter_ume_kit_database_kit: 17 | # path: ../packages/flutter_ume_kit_database_kit 18 | # flutter_ume: ^1.1.1+1 19 | # flutter_ume_kit_designer_check: 20 | # path: ../packages/flutter_ume_kit_designer_check 21 | # flutter_ume_kit_shared_preferences: 22 | # path: ../packages/flutter_ume_kit_shared_preferences 23 | # flutter_ume_kit_slow_animation: 24 | # path: ../packages/flutter_ume_kit_slow_animation 25 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/test/pluggable_test.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// [Author] Alex (https://github.com/AlexV525) 3 | /// [Date] 2021/8/6 17:28 4 | /// 5 | import 'package:flutter/material.dart'; 6 | import 'package:flutter/widgets.dart'; 7 | import 'package:dio/dio.dart'; 8 | import 'package:flutter_test/flutter_test.dart'; 9 | import 'package:flutter_ume/flutter_ume.dart'; 10 | import 'package:flutter_ume_kit_dio/flutter_ume_kit_dio.dart'; 11 | 12 | import 'mock_classes.dart'; 13 | 14 | final Dio _dio = Dio(); 15 | 16 | void main() { 17 | group('ConsolePanel', () { 18 | test('Pluggable', () { 19 | final DioInspector pluggable = DioInspector(dio: _dio); 20 | final Widget widget = pluggable.buildWidget(MockContext()); 21 | final String name = pluggable.name; 22 | final VoidCallback onTrigger = pluggable.onTrigger..call(); 23 | final ImageProvider imageProvider = pluggable.iconImageProvider; 24 | 25 | expect(widget, isA()); 26 | expect(name, isNotEmpty); 27 | expect(onTrigger, isA()); 28 | expect(imageProvider, isNotNull); 29 | }); 30 | 31 | testWidgets('DioInspector pump widget', (tester) async { 32 | final DioInspector inspector = DioInspector(dio: _dio); 33 | await tester.pumpWidget( 34 | MaterialApp(key: rootKey, home: Scaffold(body: inspector)), 35 | ); 36 | await tester.pumpAndSettle(); 37 | expect(inspector, isNotNull); 38 | }); 39 | }); 40 | } 41 | -------------------------------------------------------------------------------- /example/ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '11.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 32 | end 33 | 34 | post_install do |installer| 35 | installer.pods_project.targets.each do |target| 36 | flutter_additional_ios_build_settings(target) 37 | end 38 | end 39 | -------------------------------------------------------------------------------- /example/macos/Podfile: -------------------------------------------------------------------------------- 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 41 | -------------------------------------------------------------------------------- /example/.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. 5 | 6 | version: 7 | revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 8 | channel: unknown 9 | 10 | project_type: app 11 | 12 | # Tracks metadata for the flutter migrate command 13 | migration: 14 | platforms: 15 | - platform: root 16 | create_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 17 | base_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 18 | - platform: android 19 | create_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 20 | base_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 21 | - platform: ios 22 | create_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 23 | base_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 24 | - platform: macos 25 | create_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 26 | base_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 27 | - platform: web 28 | create_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 29 | base_revision: 4f9d92fbbdf072a70a70d2179a9f87392b94104c 30 | 31 | # User provided section 32 | 33 | # List of Local paths (relative to this file) that should be 34 | # ignored by the migrate tool. 35 | # 36 | # Files that are not part of the templates will be ignored by default. 37 | unmanaged_files: 38 | - 'lib/main.dart' 39 | - 'ios/Runner.xcodeproj/project.pbxproj' 40 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Podfile: -------------------------------------------------------------------------------- 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 41 | -------------------------------------------------------------------------------- /example/macos/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FlutterMacOS (1.0.0) 3 | - FMDB (2.7.5): 4 | - FMDB/standard (= 2.7.5) 5 | - FMDB/standard (2.7.5) 6 | - path_provider_macos (0.0.1): 7 | - FlutterMacOS 8 | - shared_preferences_macos (0.0.1): 9 | - FlutterMacOS 10 | - sqflite (0.0.2): 11 | - FlutterMacOS 12 | - FMDB (>= 2.7.5) 13 | 14 | DEPENDENCIES: 15 | - FlutterMacOS (from `Flutter/ephemeral`) 16 | - path_provider_macos (from `Flutter/ephemeral/.symlinks/plugins/path_provider_macos/macos`) 17 | - shared_preferences_macos (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos`) 18 | - sqflite (from `Flutter/ephemeral/.symlinks/plugins/sqflite/macos`) 19 | 20 | SPEC REPOS: 21 | trunk: 22 | - FMDB 23 | 24 | EXTERNAL SOURCES: 25 | FlutterMacOS: 26 | :path: Flutter/ephemeral 27 | path_provider_macos: 28 | :path: Flutter/ephemeral/.symlinks/plugins/path_provider_macos/macos 29 | shared_preferences_macos: 30 | :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos 31 | sqflite: 32 | :path: Flutter/ephemeral/.symlinks/plugins/sqflite/macos 33 | 34 | SPEC CHECKSUMS: 35 | FlutterMacOS: ae6af50a8ea7d6103d888583d46bd8328a7e9811 36 | FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a 37 | path_provider_macos: 3c0c3b4b0d4a76d2bf989a913c2de869c5641a19 38 | shared_preferences_macos: a64dc611287ed6cbe28fd1297898db1336975727 39 | sqflite: a5789cceda41d54d23f31d6de539d65bb14100ea 40 | 41 | PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c 42 | 43 | COCOAPODS: 1.11.2 44 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/ios/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '9.0' 3 | 4 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. 5 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' 6 | 7 | project 'Runner', { 8 | 'Debug' => :debug, 9 | 'Profile' => :release, 10 | 'Release' => :release, 11 | } 12 | 13 | def flutter_root 14 | generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) 15 | unless File.exist?(generated_xcode_build_settings_path) 16 | raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" 17 | end 18 | 19 | File.foreach(generated_xcode_build_settings_path) do |line| 20 | matches = line.match(/FLUTTER_ROOT\=(.*)/) 21 | return matches[1].strip if matches 22 | end 23 | raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" 24 | end 25 | 26 | require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) 27 | 28 | flutter_ios_podfile_setup 29 | 30 | target 'Runner' do 31 | use_frameworks! 32 | use_modular_headers! 33 | 34 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 35 | end 36 | 37 | post_install do |installer| 38 | installer.pods_project.targets.each do |target| 39 | flutter_additional_ios_build_settings(target) 40 | end 41 | end 42 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_designer_check/.flutter-plugins: -------------------------------------------------------------------------------- 1 | # This is a generated file; do not edit or check into version control. 2 | flutter_plugin_android_lifecycle=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/flutter_plugin_android_lifecycle-2.0.7/ 3 | image_picker=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/image_picker-0.8.6/ 4 | image_picker_android=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/image_picker_android-0.8.5+3/ 5 | image_picker_for_web=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/image_picker_for_web-2.1.10/ 6 | image_picker_ios=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/image_picker_ios-0.8.6+1/ 7 | path_provider_linux=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/path_provider_linux-2.1.7/ 8 | path_provider_windows=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/path_provider_windows-2.1.3/ 9 | shared_preferences=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences-2.0.15/ 10 | shared_preferences_android=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_android-2.0.14/ 11 | shared_preferences_ios=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_ios-2.1.1/ 12 | shared_preferences_linux=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_linux-2.1.1/ 13 | shared_preferences_macos=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_macos-2.0.4/ 14 | shared_preferences_web=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_web-2.0.4/ 15 | shared_preferences_windows=/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_windows-2.1.1/ 16 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/lib/src/containers/http_container.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// [Author] Alex (https://github.com/AlexV525) 3 | /// [Date] 4/13/21 2:49 PM 4 | /// 5 | import 'dart:math' as math; 6 | 7 | import 'package:flutter/widgets.dart'; 8 | import 'package:dio/dio.dart' show Response; 9 | 10 | /// Implements a [ChangeNotifier] to notify listeners when new responses 11 | /// were recorded. Use [page] to support paging. 12 | class HttpContainer extends ChangeNotifier { 13 | /// Store all responses. 14 | List> get requests => _requests; 15 | final List> _requests = >[]; 16 | 17 | /// Paging fields. 18 | int get page => _page; 19 | int _page = 1; 20 | final int _perPage = 10; 21 | 22 | /// Return requests according to the paging. 23 | List> get pagedRequests { 24 | return _requests.sublist(0, math.min(page * _perPage, _requests.length)); 25 | } 26 | 27 | bool get _hasNextPage => _page * _perPage < _requests.length; 28 | 29 | void addRequest(Response response) { 30 | _requests.insert(0, response); 31 | notifyListeners(); 32 | } 33 | 34 | void loadNextPage() { 35 | if (!_hasNextPage) { 36 | return; 37 | } 38 | _page++; 39 | notifyListeners(); 40 | } 41 | 42 | void resetPaging() { 43 | _page = 1; 44 | notifyListeners(); 45 | } 46 | 47 | void clearRequests() { 48 | _requests.clear(); 49 | _page = 1; 50 | notifyListeners(); 51 | } 52 | 53 | @override 54 | void dispose() { 55 | _requests.clear(); 56 | super.dispose(); 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | -------------------------------------------------------------------------------- /example/ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - Flutter (1.0.0) 3 | - FMDB (2.7.5): 4 | - FMDB/standard (= 2.7.5) 5 | - FMDB/standard (2.7.5) 6 | - image_picker_ios (0.0.1): 7 | - Flutter 8 | - path_provider_ios (0.0.1): 9 | - Flutter 10 | - shared_preferences_ios (0.0.1): 11 | - Flutter 12 | - sqflite (0.0.2): 13 | - Flutter 14 | - FMDB (>= 2.7.5) 15 | 16 | DEPENDENCIES: 17 | - Flutter (from `Flutter`) 18 | - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) 19 | - path_provider_ios (from `.symlinks/plugins/path_provider_ios/ios`) 20 | - shared_preferences_ios (from `.symlinks/plugins/shared_preferences_ios/ios`) 21 | - sqflite (from `.symlinks/plugins/sqflite/ios`) 22 | 23 | SPEC REPOS: 24 | trunk: 25 | - FMDB 26 | 27 | EXTERNAL SOURCES: 28 | Flutter: 29 | :path: Flutter 30 | image_picker_ios: 31 | :path: ".symlinks/plugins/image_picker_ios/ios" 32 | path_provider_ios: 33 | :path: ".symlinks/plugins/path_provider_ios/ios" 34 | shared_preferences_ios: 35 | :path: ".symlinks/plugins/shared_preferences_ios/ios" 36 | sqflite: 37 | :path: ".symlinks/plugins/sqflite/ios" 38 | 39 | SPEC CHECKSUMS: 40 | Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 41 | FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a 42 | image_picker_ios: b786a5dcf033a8336a657191401bfdf12017dabb 43 | path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02 44 | shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad 45 | sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904 46 | 47 | PODFILE CHECKSUM: 663715e941f9adb426e33bf9376914006f9ea95b 48 | 49 | COCOAPODS: 1.11.3 50 | -------------------------------------------------------------------------------- /example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "16x16", 5 | "idiom" : "mac", 6 | "filename" : "app_icon_16.png", 7 | "scale" : "1x" 8 | }, 9 | { 10 | "size" : "16x16", 11 | "idiom" : "mac", 12 | "filename" : "app_icon_32.png", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "size" : "32x32", 17 | "idiom" : "mac", 18 | "filename" : "app_icon_32.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "32x32", 23 | "idiom" : "mac", 24 | "filename" : "app_icon_64.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "128x128", 29 | "idiom" : "mac", 30 | "filename" : "app_icon_128.png", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "size" : "128x128", 35 | "idiom" : "mac", 36 | "filename" : "app_icon_256.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "256x256", 41 | "idiom" : "mac", 42 | "filename" : "app_icon_256.png", 43 | "scale" : "1x" 44 | }, 45 | { 46 | "size" : "256x256", 47 | "idiom" : "mac", 48 | "filename" : "app_icon_512.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "512x512", 53 | "idiom" : "mac", 54 | "filename" : "app_icon_512.png", 55 | "scale" : "1x" 56 | }, 57 | { 58 | "size" : "512x512", 59 | "idiom" : "mac", 60 | "filename" : "app_icon_1024.png", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/lib/util.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | 3 | import 'package:path_provider/path_provider.dart'; 4 | 5 | class LocalDataUtil { 6 | /// 获取缓存大小 7 | static Future total() async { 8 | try { 9 | Directory tempDir = await getTemporaryDirectory(); 10 | int total = await _reduce(tempDir); 11 | return total; 12 | } catch (_) { 13 | return 0; 14 | } 15 | } 16 | 17 | /// 清除缓存 18 | static Future clean() async { 19 | try { 20 | Directory tempDir = await getTemporaryDirectory(); 21 | await _delete(tempDir); 22 | } catch (_) {} 23 | } 24 | 25 | /// 递归删除缓存目录和文件 26 | static Future _delete(FileSystemEntity file) async { 27 | if (file is Directory) { 28 | final List children = file.listSync(); 29 | for (final FileSystemEntity child in children) { 30 | await _delete(child); 31 | } 32 | } else { 33 | await file.delete(); 34 | } 35 | } 36 | 37 | /// 递归缓存目录,计算缓存大小 38 | static Future _reduce(final FileSystemEntity file) async { 39 | // 如果是一个文件,则直接返回文件大小 40 | if (file is File) { 41 | int length = await file.length(); 42 | return length; 43 | } 44 | 45 | // 如果是目录,则遍历目录并累计大小 46 | if (file is Directory) { 47 | final List children = file.listSync(); 48 | 49 | int total = 0; 50 | 51 | if (children.isNotEmpty) { 52 | for (final FileSystemEntity child in children) { 53 | total += await _reduce(child); 54 | } 55 | } 56 | 57 | return total; 58 | } 59 | 60 | return 0; 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "16x16", 5 | "idiom" : "mac", 6 | "filename" : "app_icon_16.png", 7 | "scale" : "1x" 8 | }, 9 | { 10 | "size" : "16x16", 11 | "idiom" : "mac", 12 | "filename" : "app_icon_32.png", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "size" : "32x32", 17 | "idiom" : "mac", 18 | "filename" : "app_icon_32.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "32x32", 23 | "idiom" : "mac", 24 | "filename" : "app_icon_64.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "128x128", 29 | "idiom" : "mac", 30 | "filename" : "app_icon_128.png", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "size" : "128x128", 35 | "idiom" : "mac", 36 | "filename" : "app_icon_256.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "256x256", 41 | "idiom" : "mac", 42 | "filename" : "app_icon_256.png", 43 | "scale" : "1x" 44 | }, 45 | { 46 | "size" : "256x256", 47 | "idiom" : "mac", 48 | "filename" : "app_icon_512.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "512x512", 53 | "idiom" : "mac", 54 | "filename" : "app_icon_512.png", 55 | "scale" : "1x" 56 | }, 57 | { 58 | "size" : "512x512", 59 | "idiom" : "mac", 60 | "filename" : "app_icon_1024.png", 61 | "scale" : "2x" 62 | } 63 | ], 64 | "info" : { 65 | "version" : 1, 66 | "author" : "xcode" 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/lib/src/models/http_interceptor.dart: -------------------------------------------------------------------------------- 1 | /// 2 | /// [Author] Alex (https://github.com/AlexV525) 3 | /// [Date] 4/13/21 1:58 PM 4 | /// 5 | import 'package:dio/dio.dart'; 6 | 7 | import '../constants/constants.dart'; 8 | import '../instances.dart'; 9 | 10 | int get _timestamp => DateTime.now().millisecondsSinceEpoch; 11 | 12 | /// Implement a [Interceptor] to handle dio methods. 13 | /// 14 | /// Main idea about this interceptor: 15 | /// - Use [RequestOptions.extra] to store our timestamps. 16 | /// - Add [DIO_EXTRA_START_TIME] when a request was requested. 17 | /// - Add [DIO_EXTRA_END_TIME] when a response is respond or thrown an error. 18 | /// - Deliver the [Response] to the container. 19 | class UMEDioInterceptor extends Interceptor { 20 | @override 21 | void onRequest(RequestOptions options, RequestInterceptorHandler handler) { 22 | options.extra[DIO_EXTRA_START_TIME] = _timestamp; 23 | handler.next(options); 24 | } 25 | 26 | @override 27 | void onResponse( 28 | Response response, 29 | ResponseInterceptorHandler handler, 30 | ) { 31 | response.requestOptions.extra[DIO_EXTRA_END_TIME] = _timestamp; 32 | InspectorInstance.httpContainer.addRequest(response); 33 | handler.next(response); 34 | } 35 | 36 | @override 37 | void onError(DioError err, ErrorInterceptorHandler handler) { 38 | // Create an empty response with the [RequestOptions] for delivery. 39 | err.response ??= Response(requestOptions: err.requestOptions); 40 | err.response!.requestOptions.extra[DIO_EXTRA_END_TIME] = _timestamp; 41 | InspectorInstance.httpContainer.addRequest(err.response!); 42 | handler.next(err); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | flutter_ume_kit_shared_preferences 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | $(FLUTTER_BUILD_NAME) 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(FLUTTER_BUILD_NUMBER) 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UISupportedInterfaceOrientations 30 | 31 | UIInterfaceOrientationPortrait 32 | UIInterfaceOrientationLandscapeLeft 33 | UIInterfaceOrientationLandscapeRight 34 | 35 | UISupportedInterfaceOrientations~ipad 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationPortraitUpsideDown 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UIViewControllerBasedStatusBarAppearance 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_designer_check/melos_flutter_ume_kit_designer_check.iml: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_slow_animation/melos_flutter_ume_kit_slow_animation.iml: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 15 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_dio/.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 | .dart_tool/ 26 | .flutter-plugins 27 | .flutter-plugins-dependencies 28 | .packages 29 | .pub-cache/ 30 | .pub/ 31 | build/ 32 | 33 | # Android related 34 | **/android/**/gradle-wrapper.jar 35 | **/android/.gradle 36 | **/android/captures/ 37 | **/android/gradlew 38 | **/android/gradlew.bat 39 | **/android/local.properties 40 | **/android/**/GeneratedPluginRegistrant.java 41 | 42 | # iOS/XCode related 43 | **/ios/**/*.mode1v3 44 | **/ios/**/*.mode2v3 45 | **/ios/**/*.moved-aside 46 | **/ios/**/*.pbxuser 47 | **/ios/**/*.perspectivev3 48 | **/ios/**/*sync/ 49 | **/ios/**/.sconsign.dblite 50 | **/ios/**/.tags* 51 | **/ios/**/.vagrant/ 52 | **/ios/**/DerivedData/ 53 | **/ios/**/Icon? 54 | **/ios/**/Pods/ 55 | **/ios/**/.symlinks/ 56 | **/ios/**/profile 57 | **/ios/**/xcuserdata 58 | **/ios/.generated/ 59 | **/ios/Flutter/App.framework 60 | **/ios/Flutter/Flutter.framework 61 | **/ios/Flutter/Flutter.podspec 62 | **/ios/Flutter/Generated.xcconfig 63 | **/ios/Flutter/ephemeral 64 | **/ios/Flutter/app.flx 65 | **/ios/Flutter/app.zip 66 | **/ios/Flutter/flutter_assets/ 67 | **/ios/Flutter/flutter_export_environment.sh 68 | **/ios/ServiceDefinitions.json 69 | **/ios/Runner/GeneratedPluginRegistrant.* 70 | 71 | # Exceptions to above rules. 72 | !**/ios/**/default.mode1v3 73 | !**/ios/**/default.mode2v3 74 | !**/ios/**/default.pbxuser 75 | !**/ios/**/default.perspectivev3 76 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_slow_animation/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_ume_kit_slow_animation 2 | description: Make the animation slow or fast. 3 | version: 0.0.2 4 | homepage: https://github.com/cfug/flutter_ume_kit 5 | 6 | environment: 7 | sdk: ">=2.15.0 <3.0.0" 8 | flutter: ">=1.17.0" 9 | 10 | dependencies: 11 | flutter: 12 | sdk: flutter 13 | flutter_ume: 0.3.0+1 14 | 15 | dev_dependencies: 16 | flutter_test: 17 | sdk: flutter 18 | flutter_lints: ^1.0.0 19 | 20 | # For information on the generic Dart part of this file, see the 21 | # following page: https://dart.dev/tools/pub/pubspec 22 | 23 | # The following section is specific to Flutter. 24 | flutter: 25 | 26 | # To add assets to your package, add an assets section, like this: 27 | # assets: 28 | # - images/a_dot_burr.jpeg 29 | # - images/a_dot_ham.jpeg 30 | # 31 | # For details regarding assets in packages, see 32 | # https://flutter.dev/assets-and-images/#from-packages 33 | # 34 | # An image asset can refer to one or more resolution-specific "variants", see 35 | # https://flutter.dev/assets-and-images/#resolution-aware. 36 | 37 | # To add custom fonts to your package, add a fonts section here, 38 | # in this "flutter" section. Each entry in this list should have a 39 | # "family" key with the font family name, and a "fonts" key with a 40 | # list giving the asset and other descriptors for the font. For 41 | # example: 42 | # fonts: 43 | # - family: Schyler 44 | # fonts: 45 | # - asset: fonts/Schyler-Regular.ttf 46 | # - asset: fonts/Schyler-Italic.ttf 47 | # style: italic 48 | # - family: Trajan Pro 49 | # fonts: 50 | # - asset: fonts/TrajanPro.ttf 51 | # - asset: fonts/TrajanPro_Bold.ttf 52 | # weight: 700 53 | # 54 | # For details regarding fonts in packages, see 55 | # https://flutter.dev/custom-fonts/#from-packages 56 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 15 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/test/clean_local_data_of_kit_test.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_ume_kit_clean_local_data/clean_local_data.dart'; 2 | import 'package:flutter_ume_kit_clean_local_data/util.dart'; 3 | import 'package:flutter/material.dart'; 4 | import 'package:flutter_test/flutter_test.dart'; 5 | import 'package:flutter_ume/flutter_ume.dart'; 6 | 7 | import 'mock_classes.dart'; 8 | 9 | void main() { 10 | group('DataCleanPanel', () { 11 | test('Pluggable', () { 12 | const pluggable = DataCleanPanel(); 13 | final widget = pluggable.buildWidget(MockContext()); 14 | final name = pluggable.name; 15 | final onTrigger = pluggable.onTrigger; 16 | onTrigger(); 17 | final imageProvider = pluggable.iconImageProvider; 18 | 19 | expect(widget, isA()); 20 | expect(name, isNotEmpty); 21 | expect(onTrigger, isA()); 22 | expect(imageProvider, isNotNull); 23 | }); 24 | 25 | testWidgets('DataCleanPanel pump widget, clean data', (tester) async { 26 | const panel = DataCleanPanel(); 27 | 28 | await tester.pumpWidget(MaterialApp( 29 | key: rootKey, 30 | home: const Scaffold( 31 | body: panel, 32 | ), 33 | )); 34 | 35 | await tester.pump(const Duration(seconds: 1)); 36 | await tester.pumpAndSettle(); 37 | 38 | expect(panel, isNotNull); 39 | 40 | await tester.tap(find.text('Clean Data')); 41 | await tester.pump(const Duration(seconds: 1)); 42 | await tester.pumpAndSettle(); 43 | }); 44 | }); 45 | 46 | group('CacheUtil', () { 47 | test('total', () async { 48 | final total = await LocalDataUtil.total(); 49 | expect(total, isNotNull); 50 | }); 51 | 52 | test('clean', () async { 53 | await LocalDataUtil.clean(); 54 | final total = await LocalDataUtil.total(); 55 | expect(total, 0); 56 | }); 57 | }); 58 | } 59 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/lib/icon_data.dart: -------------------------------------------------------------------------------- 1 | const iconData = r'iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAVBQTFRFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJD2LtAAAAG90Uk5TACZmd2UlH7e1HejnIwLPzFBOmpi4v+XC+/6tNQESa/dbEbv9TQXAkBz2+RQ6hwl29YgKuTsVkZIewVyvNxNt6cPR/GhCOIzjyy8IebRG+NYMS99imRt7+nzgZEzYDUcxaUNRj1mXT87K5iGzsSSAjIikLQAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAEgAAABIAEbJaz4AAAJtSURBVHja7d3Zb1JBGIbxI1pB4ZRaad2oWmktoqJ136vW1rpvrVbcte7a8//fSUNGzpB443Dmm488z+3LzS8kMIeETBQRERERkWSbcptF2zLUF8bWfCJeYZu7Y2i7tGKjYsnVEQ9LGzqVY0fIiLTAtMMRMioNMO10hFSkAaaKI2RMGmAaAwIECBAgQIBkBhnflR/erR6yZ+++anua2F/UDTlw0IyThzRDalPddfqwYshMeq4fUQtpHLX2GbWQngecY2ohx+29qRZyoucFJ7VCZu39lNp35LS9n1ELaZy19nNqIcn59HxB7/dIUkv95jd90Zcjk7PWJTNOqD5rtbt8ZeP0e/XanD9HVs8jxev5Gzc9MnhCBAIECBAgQIAAAQIEiF5IbjaQco4QIiIiIsqugTn9AgECBAgQIECAAAECBEhQkFph/tbCyOJt7ZClO53t7j2PfyHJAHK/+Xd98FAx5NHj1JxTDHmSnqtLaiFP7f2ZWsiyva+ohTy39/iFVshqD8TXJ3DfIaP2Xvfk6D/kZdXaW2ohyav0XC3rhbx+k5rnfTmyOKIUukeUtw3NkKT8rrM1V3UfGtvH+Pz7DwsfP437Y/BgBQQIECBAgAABAgQIECDiECIiIiLKrjXZ+yG6rTlCBub0CwQIECBAgAABAgQIkEGBcElESBAuiQgMwiURgUG4JCI0CJdEhAbhkojQIFwSERyESyIChHBJBBAgQIAAAQJEFlKRBpgqjpBlaYDpsyPkizTANOUIib9KCzp9ix0hUcnnT+7/7PsPV0cU1X9KK5Lk14q7o93v1rrk9RDrrVJfGERERET0v/0BEARhhl3FmxgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDQtMjZUMTc6NDk6MDArMDg6MDAlDcw6AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA0LTI2VDE3OjQ5OjAwKzA4OjAwVFB0hgAAAFB0RVh0c3ZnOmJhc2UtdXJpAGZpbGU6Ly8vaG9tZS9hZG1pbi9pY29uLWZvbnQvdG1wL2ljb25fMzRmdHJsNGJ6dWcvZGF0YWJhc2UtZmlsbC5zdmfnztkuAAAAAElFTkSuQmCC'; -------------------------------------------------------------------------------- /example/ios/Runner/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CADisableMinimumFrameDurationOnPhone 6 | 7 | CFBundleDevelopmentRegion 8 | $(DEVELOPMENT_LANGUAGE) 9 | CFBundleDisplayName 10 | Example 11 | CFBundleExecutable 12 | $(EXECUTABLE_NAME) 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | example 19 | CFBundlePackageType 20 | APPL 21 | CFBundleShortVersionString 22 | $(FLUTTER_BUILD_NAME) 23 | CFBundleSignature 24 | ???? 25 | CFBundleVersion 26 | $(FLUTTER_BUILD_NUMBER) 27 | LSRequiresIPhoneOS 28 | 29 | NSPhotoLibraryUsageDescription 30 | Use photo library 31 | UIApplicationSupportsIndirectInputEvents 32 | 33 | UILaunchStoryboardName 34 | LaunchScreen 35 | UIMainStoryboardFile 36 | Main 37 | UISupportedInterfaceOrientations 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationLandscapeLeft 41 | UIInterfaceOrientationLandscapeRight 42 | 43 | UISupportedInterfaceOrientations~ipad 44 | 45 | UIInterfaceOrientationPortrait 46 | UIInterfaceOrientationPortraitUpsideDown 47 | UIInterfaceOrientationLandscapeLeft 48 | UIInterfaceOrientationLandscapeRight 49 | 50 | UIViewControllerBasedStatusBarAppearance 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /example/web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | example 33 | 34 | 35 | 39 | 40 | 41 | 42 | 43 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/lib/src/data/hive_database.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_ume_kit_database_kit/src/data/databases.dart'; 2 | import 'package:hive/hive.dart'; 3 | 4 | class HiveDatabase implements UMEDatabase { 5 | HiveDatabase(this.boxItems) 6 | : assert(boxItems.isNotEmpty, 'the box name must has one'); 7 | 8 | ///hive需要打开的盒子 9 | List boxItems; 10 | @override 11 | String get databaseName => "Hive"; 12 | @override 13 | String? get databasePath => null; 14 | 15 | @override 16 | bool deleteDB() { 17 | return false; 18 | } 19 | } 20 | 21 | class HiveBoxItem { 22 | final String name; 23 | final Box box; 24 | HiveBoxItem({required this.name, required this.box}); 25 | } 26 | 27 | class HiveTableData implements TableData { 28 | HiveTableData(this._tableName, {required this.box}); 29 | final String _tableName; 30 | final Box box; 31 | @override 32 | String tableName() { 33 | return _tableName; 34 | } 35 | 36 | @override 37 | Map toJson() { 38 | var length = box.values.length; 39 | 40 | return { 41 | "Table_Name": _tableName, 42 | "Data_SIZE": length, 43 | }; 44 | } 45 | } 46 | 47 | class HiveColumnData implements CloumnData { 48 | HiveColumnData({required this.name}); 49 | final String name; 50 | @override 51 | String columnName() { 52 | return name; 53 | } 54 | } 55 | 56 | /// an ume hive data 57 | /// use ume data class need extends the mixin 58 | /// we need an public function call 59 | /// example: 60 | /// 61 | ///``` 62 | ///@HiveType(typeId: 0) 63 | ///class Person with UMEHiveData { 64 | /// Person({required this.age, required this.name}); 65 | /// @HiveField(0) 66 | /// String name; 67 | /// @HiveField(1) 68 | /// int age; 69 | 70 | /// @override 71 | /// Map toJson() { 72 | /// return {'name': name, 'age': age}; 73 | /// } 74 | ///} 75 | mixin UMEHiveData { 76 | Map toJson(); 77 | } 78 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_ume_kit_database_kit 2 | description: Database kit for SQLite, hive and SP. 3 | version: 0.0.2 4 | homepage: https://github.com/cfug/flutter_ume_kit 5 | 6 | environment: 7 | sdk: ">=2.16.1 <3.0.0" 8 | flutter: ">=1.17.0" 9 | 10 | dependencies: 11 | data_table_2: ^2.2.1 12 | flutter: 13 | sdk: flutter 14 | hive: ^2.1.0 15 | hive_flutter: ^1.1.0 16 | shared_preferences: ^2.0.13 17 | sqflite: ^2.0.2+1 18 | translator: ^0.1.7 19 | path: any 20 | flutter_ume: ^0.3.0+1 21 | 22 | 23 | dev_dependencies: 24 | flutter_test: 25 | sdk: flutter 26 | flutter_lints: ^1.0.0 27 | 28 | # For information on the generic Dart part of this file, see the 29 | # following page: https://dart.dev/tools/pub/pubspec 30 | 31 | # The following section is specific to Flutter. 32 | flutter: 33 | 34 | # To add assets to your package, add an assets section, like this: 35 | # assets: 36 | # - images/a_dot_burr.jpeg 37 | # - images/a_dot_ham.jpeg 38 | # 39 | # For details regarding assets in packages, see 40 | # https://flutter.dev/assets-and-images/#from-packages 41 | # 42 | # An image asset can refer to one or more resolution-specific "variants", see 43 | # https://flutter.dev/assets-and-images/#resolution-aware. 44 | 45 | # To add custom fonts to your package, add a fonts section here, 46 | # in this "flutter" section. Each entry in this list should have a 47 | # "family" key with the font family name, and a "fonts" key with a 48 | # list giving the asset and other descriptors for the font. For 49 | # example: 50 | # fonts: 51 | # - family: Schyler 52 | # fonts: 53 | # - asset: fonts/Schyler-Regular.ttf 54 | # - asset: fonts/Schyler-Italic.ttf 55 | # style: italic 56 | # - family: Trajan Pro 57 | # fonts: 58 | # - asset: fonts/TrajanPro.ttf 59 | # - asset: fonts/TrajanPro_Bold.ttf 60 | # weight: 700 61 | # 62 | # For details regarding fonts in packages, see 63 | # https://flutter.dev/custom-fonts/#from-packages 64 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/test/shared_preferences_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 | import 'package:flutter_ume_kit_shared_preferences/flutter_ume_kit_shared_preferences.dart'; 11 | import 'mock_classes.dart'; 12 | import 'package:flutter_ume/core/ui/global.dart'; 13 | 14 | void main() { 15 | group('ConsolePanel', () { 16 | test('Pluggable', () { 17 | final pluggable = SharedPreferencesInspector(); 18 | final Widget widget = pluggable.buildWidget(MockContext()); 19 | final String name = pluggable.name; 20 | final VoidCallback onTrigger = pluggable.onTrigger..call(); 21 | final ImageProvider imageProvider = pluggable.iconImageProvider; 22 | 23 | expect(widget, isA()); 24 | expect(name, isNotEmpty); 25 | expect(onTrigger, isA()); 26 | expect(imageProvider, isNotNull); 27 | }); 28 | 29 | testWidgets('SharedPreference pump widget', (tester) async { 30 | WidgetsFlutterBinding.ensureInitialized(); 31 | 32 | await tester.pumpWidget(MaterialApp( 33 | key: rootKey, 34 | home: Scaffold( 35 | body: Container(), 36 | ))); 37 | await tester.pump(Duration(seconds: 1)); 38 | await tester.pumpAndSettle(); 39 | 40 | final showCode = SharedPreferencesInspector(); 41 | 42 | await tester.pumpWidget(MaterialApp( 43 | key: rootKey, 44 | home: Scaffold( 45 | body: showCode, 46 | ))); 47 | await tester.pump(Duration(seconds: 1)); 48 | await tester.pumpAndSettle(); 49 | expect(showCode, isNotNull); 50 | }); 51 | }); 52 | } 53 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: flutter_ume_kit_shared_preferences 2 | description: Kit for shared_preferences. 3 | homepage: https://github.com/cfug/flutter_ume_kit 4 | version: 0.0.2 5 | 6 | environment: 7 | sdk: ">=2.12.0 <3.0.0" 8 | flutter: ">=2.0.0" 9 | 10 | dependencies: 11 | flutter: 12 | sdk: flutter 13 | flutter_ume: ">=0.3.0 <0.4.0" 14 | shared_preferences: "^2.0.7" 15 | cupertino_icons: ^1.0.2 16 | 17 | dev_dependencies: 18 | flutter_test: 19 | sdk: flutter 20 | mockito: ^5.0.12 21 | 22 | # For information on the generic Dart part of this file, see the 23 | # following page: https://dart.dev/tools/pub/pubspec 24 | 25 | # The following section is specific to Flutter. 26 | flutter: 27 | 28 | # The following line ensures that the Material Icons font is 29 | # included with your application, so that you can use the icons in 30 | # the material Icons class. 31 | uses-material-design: true 32 | 33 | # To add assets to your application, add an assets section, like this: 34 | # assets: 35 | # - images/a_dot_burr.jpeg 36 | # - images/a_dot_ham.jpeg 37 | 38 | # An image asset can refer to one or more resolution-specific "variants", see 39 | # https://flutter.dev/assets-and-images/#resolution-aware. 40 | 41 | # For details regarding adding assets from package dependencies, see 42 | # https://flutter.dev/assets-and-images/#from-packages 43 | 44 | # To add custom fonts to your application, add a fonts section here, 45 | # in this "flutter" section. Each entry in this list should have a 46 | # "family" key with the font family name, and a "fonts" key with a 47 | # list giving the asset and other descriptors for the font. For 48 | # example: 49 | # fonts: 50 | # - family: Schyler 51 | # fonts: 52 | # - asset: fonts/Schyler-Regular.ttf 53 | # - asset: fonts/Schyler-Italic.ttf 54 | # style: italic 55 | # - family: Trajan Pro 56 | # fonts: 57 | # - asset: fonts/TrajanPro.ttf 58 | # - asset: fonts/TrajanPro_Bold.ttf 59 | # weight: 700 60 | # 61 | # For details regarding fonts from package dependencies, 62 | # see https://flutter.dev/custom-fonts/#from-packages 63 | -------------------------------------------------------------------------------- /example/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 flutter.compileSdkVersion 30 | ndkVersion flutter.ndkVersion 31 | 32 | compileOptions { 33 | sourceCompatibility JavaVersion.VERSION_1_8 34 | targetCompatibility JavaVersion.VERSION_1_8 35 | } 36 | 37 | defaultConfig { 38 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 39 | applicationId "com.example.example" 40 | // You can update the following values to match your application needs. 41 | // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. 42 | minSdkVersion flutter.minSdkVersion 43 | targetSdkVersion flutter.targetSdkVersion 44 | versionCode flutterVersionCode.toInteger() 45 | versionName flutterVersionName 46 | } 47 | 48 | buildTypes { 49 | release { 50 | // TODO: Add your own signing config for the release build. 51 | // Signing with the debug keys for now, so `flutter run --release` works. 52 | signingConfig signingConfigs.debug 53 | } 54 | } 55 | } 56 | 57 | flutter { 58 | source '../..' 59 | } 60 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_slow_animation/.flutter-plugins-dependencies: -------------------------------------------------------------------------------- 1 | {"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"shared_preferences_ios","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_ios-2.1.1/","native_build":true,"dependencies":[]}],"android":[{"name":"shared_preferences_android","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_android-2.0.14/","native_build":true,"dependencies":[]}],"macos":[{"name":"shared_preferences_macos","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_macos-2.0.4/","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/path_provider_linux-2.1.7/","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_linux-2.1.1/","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"path_provider_windows","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/path_provider_windows-2.1.3/","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_windows-2.1.1/","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"shared_preferences_web","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_web-2.0.4/","dependencies":[]}]},"dependencyGraph":[{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","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"]}],"date_created":"2022-10-29 23:32:04.719373","version":"3.3.5"} -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/lib/src/data/shared_preferences_database.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_ume_kit_database_kit/src/data/databases.dart'; 2 | import 'package:shared_preferences/shared_preferences.dart'; 3 | 4 | class SharedPreferencesDatabase implements UMEDatabase { 5 | SharedPreferencesDatabase(this._databaseName, 6 | {required this.sharedPreferences, isDedeteDB = true}) 7 | : _isDedeteDB = isDedeteDB, 8 | super(); 9 | final String _databaseName; 10 | final bool _isDedeteDB; 11 | 12 | late final SharedPreferencesTableData tableData = 13 | SharedPreferencesTableData(_databaseName, sharedPreferences); 14 | 15 | SharedPreferences sharedPreferences; 16 | 17 | @override 18 | String get databaseName => _databaseName; 19 | 20 | @override 21 | String? get databasePath => null; 22 | 23 | ///if it return true,it will clear 24 | @override 25 | bool deleteDB() { 26 | return _isDedeteDB; 27 | } 28 | } 29 | 30 | enum ColumnDataType { string, int, double, bool, list, invalid } 31 | 32 | class SharedPreferencesTableData implements TableData { 33 | SharedPreferencesTableData(this._tableName, this._preferences); 34 | final String? _tableName; 35 | final SharedPreferences _preferences; 36 | 37 | List columns = [ 38 | SharedPreferencesColumnData('key'), 39 | SharedPreferencesColumnData('value') 40 | ]; 41 | 42 | Map columnDataType = {}; 43 | 44 | @override 45 | String tableName() { 46 | return _tableName ?? "SharedPreferences"; 47 | } 48 | 49 | @override 50 | Map toJson() { 51 | var size = _preferences.getKeys().length; 52 | 53 | return { 54 | 'Table_Name': _tableName ?? "SharedPreferences", 55 | "TableSize": size, 56 | "allKey": _preferences.getKeys() 57 | }; 58 | } 59 | } 60 | 61 | class SharedPreferencesColumnData implements CloumnData { 62 | SharedPreferencesColumnData(this.name); 63 | final String name; 64 | @override 65 | String columnName() { 66 | return name; 67 | } 68 | } 69 | 70 | class SharedPreferencesUpdateConditions implements UpdateConditions { 71 | @override 72 | String? get getUpdateNeedWhere => null; 73 | 74 | @override 75 | List? get getUpdateNeedcolumnKey => null; 76 | } 77 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 flutter.compileSdkVersion 30 | 31 | compileOptions { 32 | sourceCompatibility JavaVersion.VERSION_1_8 33 | targetCompatibility JavaVersion.VERSION_1_8 34 | } 35 | 36 | kotlinOptions { 37 | jvmTarget = '1.8' 38 | } 39 | 40 | sourceSets { 41 | main.java.srcDirs += 'src/main/kotlin' 42 | } 43 | 44 | defaultConfig { 45 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). 46 | applicationId "com.example.flutter_ume_kit_shared_preferences" 47 | minSdkVersion flutter.minSdkVersion 48 | targetSdkVersion flutter.targetSdkVersion 49 | versionCode flutterVersionCode.toInteger() 50 | versionName flutterVersionName 51 | } 52 | 53 | buildTypes { 54 | release { 55 | // TODO: Add your own signing config for the release build. 56 | // Signing with the debug keys for now, so `flutter run --release` works. 57 | signingConfig signingConfigs.debug 58 | } 59 | } 60 | } 61 | 62 | flutter { 63 | source '../..' 64 | } 65 | 66 | dependencies { 67 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" 68 | } 69 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | import 'package:flutter_ume/flutter_ume.dart'; 3 | import 'package:shared_preferences/shared_preferences.dart'; 4 | import 'shared_preferences_inspector.dart'; 5 | 6 | void main() { 7 | runApp(UMEWidget(child: MyApp())); 8 | PluginManager.instance..register(SharedPreferencesInspector()); 9 | } 10 | 11 | class MyApp extends StatelessWidget { 12 | @override 13 | Widget build(BuildContext context) { 14 | return MaterialApp( 15 | title: 'UME Demo', 16 | theme: ThemeData( 17 | primarySwatch: Colors.blue, 18 | ), 19 | home: MyHomePage(title: 'SharedreferencesKit Demo Page'), 20 | ); 21 | } 22 | } 23 | 24 | class MyHomePage extends StatefulWidget { 25 | MyHomePage({Key? key, this.title = "SharedreferencesKit Demo Page"}) : super(key: key); 26 | 27 | final String title; 28 | 29 | @override 30 | _MyHomePageState createState() => _MyHomePageState(); 31 | } 32 | 33 | class _MyHomePageState extends State { 34 | 35 | @override 36 | void initState() { 37 | SharedPreferences.getInstance().then((value) { 38 | if (value.getBool("TestBoolKey") == null) { 39 | value.setBool("TestBoolKey", true); 40 | } 41 | if (value.getDouble("TestDoubleKey") == null) { 42 | value.setDouble("TestDoubleKey", 1.0); 43 | } 44 | if (value.getString("TestStringKey") == null) { 45 | value.setString("TestStringKey", "Hello Word!"); 46 | } 47 | if (value.getInt("TestIntKey") == null) { 48 | value.setInt("TestIntKey", 520); 49 | } 50 | if (value.getStringList("TestStringList") == null) { 51 | value.setStringList("TestStringList", ["t1", "t2", "t3"]); 52 | } 53 | }); 54 | super.initState(); 55 | } 56 | 57 | 58 | @override 59 | Widget build(BuildContext context) { 60 | return Scaffold( 61 | appBar: AppBar( 62 | title: Text(widget.title), 63 | ), 64 | body: Stack( 65 | children: [ 66 | Center( 67 | child: Column( 68 | mainAxisAlignment: MainAxisAlignment.center, 69 | children: [ 70 | Text( 71 | 'Hello World! I\' m SharedreferencesKit!', 72 | ), 73 | ], 74 | ), 75 | ), 76 | ], 77 | ), 78 | ); 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /example/lib/database_testcase/setup.dart: -------------------------------------------------------------------------------- 1 | import 'package:hive_flutter/hive_flutter.dart'; 2 | import 'package:flutter_ume_kit_database_kit/database_kit.dart'; 3 | import 'data/data.dart'; 4 | import 'package:shared_preferences/shared_preferences.dart'; 5 | 6 | class Setup { 7 | static Future> initalizeDatabaseTestCase() async { 8 | var sqldb = SqliteDatabas('test.db', path: null, isDeleteDB: true, 9 | onCreate: (db, index) { 10 | db.execute( 11 | 'create table test (table_name text,table_size integer,tid integer,tid1 integer,tid2 integer)'); 12 | db.execute('create table people (name text,age integer)'); 13 | db.insert('people', { 14 | "name": "zhangzhangzhangzhangzhangzhangzhangzhangzhangzhangzhang", 15 | "age": 12 16 | }); 17 | db.insert('people', { 18 | "name": 19 | "zhazhangzhangzhangzhangzhangzhangzhangzhangzhangzhangzhangzhangng", 20 | "age": 12 21 | }); 22 | db.insert('people', { 23 | "name": "zhzhangzhangzhangzhangzhangzhangzhangzhangzhangzhangzhangang", 24 | "age": 12 25 | }); 26 | db.insert('test', { 27 | "table_name": "zhang", 28 | "table_size": 12, 29 | 'tid': 1, 30 | 'tid1': 1, 31 | 'tid2': 1 32 | }); 33 | db.insert('test', {"table_name": "zhang", "table_size": 12, "tid": 2}); 34 | }, updateMap: [ 35 | { 36 | 'test': SqliteUpdateConditions( 37 | updateNeedWhere: 'tid = ?', updateNeedcolumnKey: ['tid']) 38 | } 39 | ]); 40 | 41 | ///register hive databases 42 | await Hive.initFlutter(); 43 | Hive.registerAdapter(PersonAdapter()); 44 | Hive.registerAdapter(TableAdapter()); 45 | Hive.registerAdapter(TestAdapter()); 46 | var pBox = await Hive.openBox("people"); 47 | var test = await Hive.openBox("test"); 48 | pBox.put("p", Person(age: 12, name: 'xiaolaing')); 49 | test.put("p1", Test(age: 13, name: 'xiaolaing')); 50 | pBox.put("p2", Person(age: 14, name: 'xiaolaing')); 51 | 52 | ///reigster dugeg plugin 53 | var hive = HiveDatabase( 54 | [ 55 | HiveBoxItem(name: 'people', box: pBox), 56 | HiveBoxItem(name: 'test', box: test), 57 | ], 58 | ); 59 | 60 | ///SharedPreferences Database 61 | var sp = SharedPreferencesDatabase("SP", 62 | sharedPreferences: await SharedPreferences.getInstance()); 63 | 64 | return [sp, hive, sqldb]; 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_clean_local_data/lib/clean_local_data.dart: -------------------------------------------------------------------------------- 1 | library flutter_ume_kit_clean_local_data; 2 | 3 | import 'dart:convert'; 4 | 5 | import 'package:flutter_ume_kit_clean_local_data/util.dart'; 6 | import 'package:data_size/data_size.dart'; 7 | import 'package:flutter/material.dart'; 8 | import 'package:flutter_ume/flutter_ume.dart'; 9 | import 'package:flutter_ume/util/floating_widget.dart'; 10 | 11 | import 'icon.dart' as icon; 12 | 13 | class DataCleanPanel extends StatefulWidget implements Pluggable { 14 | const DataCleanPanel({Key? key}) : super(key: key); 15 | 16 | @override 17 | State createState() => _DataCleanPanelState(); 18 | 19 | @override 20 | Widget buildWidget(BuildContext? context) => this; 21 | 22 | @override 23 | String get displayName => 'DataClean'; 24 | 25 | @override 26 | ImageProvider get iconImageProvider => 27 | MemoryImage(base64Decode(icon.iconData)); 28 | 29 | @override 30 | String get name => 'DataClean'; 31 | 32 | @override 33 | void onTrigger() {} 34 | } 35 | 36 | class _DataCleanPanelState extends State { 37 | int cacheTotalSize = 0; 38 | 39 | @override 40 | void initState() { 41 | _getCacheTotalSize(); 42 | super.initState(); 43 | } 44 | 45 | void _getCacheTotalSize() { 46 | LocalDataUtil.total().then((value) { 47 | setState(() { 48 | cacheTotalSize = value; 49 | }); 50 | }); 51 | } 52 | 53 | void _cleanCache() async { 54 | await LocalDataUtil.clean(); 55 | setState(() { 56 | cacheTotalSize = 0; 57 | }); 58 | } 59 | 60 | @override 61 | Widget build(BuildContext context) { 62 | return FloatingWidget( 63 | contentWidget: Container( 64 | padding: const EdgeInsets.all(16), 65 | child: Column( 66 | mainAxisSize: MainAxisSize.min, 67 | children: [ 68 | Text( 69 | 'Local Data Size: ${cacheTotalSize.formatByteSize(prefix: Prefix.binary)}'), 70 | const SizedBox( 71 | height: 16, 72 | ), 73 | TextButton( 74 | onPressed: _cleanCache, 75 | child: const Text('Clean Data'), 76 | style: TextButton.styleFrom( 77 | side: const BorderSide(color: Colors.blue, width: 1), 78 | shape: const RoundedRectangleBorder( 79 | borderRadius: BorderRadius.all( 80 | Radius.circular(8), 81 | ), 82 | ), 83 | ), 84 | ) 85 | ], 86 | ), 87 | ), 88 | ); 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/lib/src/helper/shared_preferences_helper.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | 3 | import 'package:flutter_ume_kit_database_kit/database_kit.dart'; 4 | import 'package:shared_preferences/shared_preferences.dart'; 5 | 6 | class SharedPreferencesHelper extends UmeDatabaseHelper { 7 | SharedPreferencesHelper(this._sharedPreferences); 8 | final SharedPreferences _sharedPreferences; 9 | Set findAllKeys() { 10 | return _sharedPreferences.getKeys(); 11 | } 12 | 13 | List> findAllData(SharedPreferencesTableData tableData) { 14 | List> datas = []; 15 | var setKey = findAllKeys(); 16 | // print(setKey); 17 | // var fgs = _sharedPreferences.get('FloatingDotPos'); 18 | // print(fgs); 19 | for (var key in setKey) { 20 | var value = _sharedPreferences.get(key); 21 | if (value is String?) { 22 | tableData.columnDataType[key] = ColumnDataType.string; 23 | } else if (value is double?) { 24 | tableData.columnDataType[key] = ColumnDataType.double; 25 | } else if (value is int?) { 26 | tableData.columnDataType[key] = ColumnDataType.int; 27 | } else if (value is List?) { 28 | tableData.columnDataType[key] = ColumnDataType.string; 29 | } else if (value is bool?) { 30 | tableData.columnDataType[key] = ColumnDataType.bool; 31 | } else { 32 | tableData.columnDataType[key] = ColumnDataType.invalid; 33 | } 34 | var data = {key: value}; 35 | datas.add(data); 36 | } 37 | // print(datas); 38 | return datas; 39 | } 40 | 41 | Future updateKey( 42 | ColumnDataType columnDataType, String key, Object value) async { 43 | // print(key); 44 | // print(value); 45 | // print(columnDataType); 46 | switch (columnDataType) { 47 | case ColumnDataType.int: 48 | return _sharedPreferences.setInt( 49 | key, int.tryParse(value.toString()) ?? 0); 50 | case ColumnDataType.bool: 51 | return _sharedPreferences.setBool( 52 | key, value.toString().toLowerCase() == 'true'); 53 | case ColumnDataType.list: 54 | var list = json.decode(value.toString()) as List; 55 | // print(list); 56 | return _sharedPreferences.setStringList( 57 | key, list.map((e) => e.toString()).toList()); 58 | case ColumnDataType.double: 59 | return _sharedPreferences.setDouble( 60 | key, double.parse(value.toString())); 61 | case ColumnDataType.string: 62 | return _sharedPreferences.setString(key, value.toString()); 63 | case ColumnDataType.invalid: 64 | throw ('an invalid column data type,check the code is right'); 65 | } 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/README.md: -------------------------------------------------------------------------------- 1 | 13 | 14 | # flutter_ume database plugin 15 | 16 | 这个插件用于 Sqlite 和 Hive 查看等相关功能 17 | 具体的使用在例子中可以查看 18 | 19 | ```dart 20 | void main() async { 21 | var sqldb = SqliteDatabas('test.db', path: null, isDeleteDB: true, 22 | onCreate: (db, index) { 23 | db.execute( 24 | 'create table test (table_name text,table_size integer,tid integer,tid1 integer,tid2 integer)'); 25 | db.execute('create table people (name text,age integer)'); 26 | db.insert('people', { 27 | "name": "zhangzhangzhangzhangzhangzhangzhangzhangzhangzhangzhang", 28 | "age": 12 29 | }); 30 | db.insert('people', { 31 | "name": 32 | "zhazhangzhangzhangzhangzhangzhangzhangzhangzhangzhangzhangzhangng", 33 | "age": 12 34 | }); 35 | db.insert('people', { 36 | "name": "zhzhangzhangzhangzhangzhangzhangzhangzhangzhangzhangzhangang", 37 | "age": 12 38 | }); 39 | db.insert('test', { 40 | "table_name": "zhang", 41 | "table_size": 12, 42 | 'tid': 1, 43 | 'tid1': 1, 44 | 'tid2': 1 45 | }); 46 | db.insert('test', {"table_name": "zhang", "table_size": 12, "tid": 2}); 47 | }, updateMap: [ 48 | { 49 | 'test': SqliteUpdateConditions( 50 | updateNeedWhere: 'tid = ?', updateNeedcolumnKey: ['tid']) 51 | } 52 | ]); 53 | 54 | ///register hive databases 55 | await Hive.initFlutter(); 56 | Hive.registerAdapter(PersonAdapter()); 57 | var pBox = await Hive.openBox("people"); 58 | pBox.put("p", Person(age: 12, name: 'xiaolaing')); 59 | pBox.put("p1", Person(age: 13, name: 'xiaolaing')); 60 | pBox.put("p1", Person(age: 13, name: 'xiaolaing')); 61 | pBox.put("p2", Person(age: 14, name: 'xiaolaing')); 62 | 63 | ///reigster dugeg plugin 64 | var hive = HiveDatabase([HiveBoxItem(name: 'people', box: pBox)]); 65 | 66 | PluginManager.instance.register(DatabasePanel(databases: [sqldb, hive])); 67 | runApp(const UMEWidget(child: MyApp(), enable: true)); // 初始化 68 | } 69 | ``` 70 | 71 | Sqlite 有几个比较重要的参数和提示: 72 | 如果没有 id 作为表的唯一参数,那么希望使用 SqliteUpdateConditions 作为更新条件,在 main 方法中可以看到例子 73 | 74 | 目前的问题: 75 | Hive 数据库无法添加和修改数据 76 | Sqlite 数据库可能还存在不完善的地方 77 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_database_kit/lib/src/database_manager.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_ume_kit_database_kit/src/data/shared_preferences_database.dart'; 2 | import 'package:flutter_ume_kit_database_kit/src/helper/hive_helper.dart'; 3 | import 'package:flutter_ume_kit_database_kit/src/helper/shared_preferences_helper.dart'; 4 | import 'package:flutter_ume_kit_database_kit/src/helper/sqlite_helper.dart'; 5 | import 'package:sqflite/sqflite.dart'; 6 | import 'data/databases.dart'; 7 | import 'data/hive_database.dart'; 8 | import 'data/sql_database.dart'; 9 | 10 | class DatabaseManager { 11 | DatabaseManager._(); 12 | static DatabaseManager get _instace => DatabaseManager._(); 13 | factory DatabaseManager() => _instace; 14 | late List databases = []; 15 | 16 | late SqliteHelper sqliteHelper; 17 | late HiveHelper hiveHelper; 18 | late SharedPreferencesHelper sharedPreferencesHelper; 19 | 20 | ///使用hive数据库 路径可以为空 21 | /// 22 | Future openDatabases({required List databases}) async { 23 | for (var data in databases) { 24 | if (data is SqliteDatabas) { 25 | SqliteDatabas sqliteDataba = data; 26 | sqliteHelper = SqliteHelper(); 27 | var path = await sqliteHelper.initDeleteDb(data.databaseName, 28 | deleteDB: data.isDeleteDB); 29 | var db = await openDatabase(path, 30 | version: 1, 31 | onCreate: data.onCreate, 32 | onConfigure: data.onConfigure, 33 | onDowngrade: data.onDowngrade, 34 | onOpen: data.onOpen, 35 | onUpgrade: data.onUpgrade, 36 | readOnly: false); 37 | sqliteDataba.db = db; 38 | sqliteHelper.sqliteDatabas = sqliteDataba; 39 | this.databases.add(sqliteDataba); 40 | if (sqliteDataba.updateMap.isNotEmpty) { 41 | for (var sum in sqliteDataba.updateMap) { 42 | sqliteHelper.addSqliteUpdateConditions(sum); 43 | } 44 | } 45 | } else if (data is HiveDatabase) { 46 | hiveHelper = HiveHelper(); 47 | HiveDatabase hiveDatabase = data; 48 | this.databases.add(hiveDatabase); 49 | } else if (data is SharedPreferencesDatabase) { 50 | sharedPreferencesHelper = 51 | SharedPreferencesHelper(data.sharedPreferences); 52 | SharedPreferencesDatabase sharedPreferencesDatabase = data; 53 | if (sharedPreferencesDatabase.deleteDB()) { 54 | await sharedPreferencesDatabase.sharedPreferences.clear(); 55 | } 56 | this.databases.add(sharedPreferencesDatabase); 57 | } 58 | } 59 | } 60 | } 61 | 62 | enum DatabaseType { sqlite, hive, sharedPreferences, objectDB, customDB } 63 | 64 | class DatabasesItem { 65 | DatabasesItem(this.databasesType, {required this.name, required this.path}); 66 | final String name; 67 | final String? path; 68 | final DatabaseType databasesType; 69 | } 70 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /packages/flutter_ume_kit_designer_check/.flutter-plugins-dependencies: -------------------------------------------------------------------------------- 1 | {"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"image_picker_ios","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/image_picker_ios-0.8.6+1/","native_build":true,"dependencies":[]},{"name":"shared_preferences_ios","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_ios-2.1.1/","native_build":true,"dependencies":[]}],"android":[{"name":"flutter_plugin_android_lifecycle","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/flutter_plugin_android_lifecycle-2.0.7/","native_build":true,"dependencies":[]},{"name":"image_picker_android","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/image_picker_android-0.8.5+3/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"]},{"name":"shared_preferences_android","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_android-2.0.14/","native_build":true,"dependencies":[]}],"macos":[{"name":"shared_preferences_macos","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_macos-2.0.4/","native_build":true,"dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/path_provider_linux-2.1.7/","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_linux-2.1.1/","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"path_provider_windows","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/path_provider_windows-2.1.3/","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_windows-2.1.1/","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"image_picker_for_web","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/image_picker_for_web-2.1.10/","dependencies":[]},{"name":"shared_preferences_web","path":"/Users/talisk/.pub-cache/hosted/dart-pub.byted.org/shared_preferences_web-2.0.4/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"image_picker","dependencies":["image_picker_android","image_picker_for_web","image_picker_ios"]},{"name":"image_picker_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"image_picker_ios","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","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"]}],"date_created":"2022-10-29 23:32:06.176258","version":"3.3.5"} -------------------------------------------------------------------------------- /packages/flutter_ume_kit_shared_preferences/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 | --------------------------------------------------------------------------------