├── Flutter_image.png ├── LICENSE ├── README.md ├── flutter_module ├── .android │ ├── Flutter │ │ ├── build.gradle │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ └── io │ │ │ └── flutter │ │ │ └── plugins │ │ │ └── GeneratedPluginRegistrant.java │ ├── app │ │ ├── build.gradle │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── flutter_module │ │ │ │ └── host │ │ │ │ └── MainActivity.java │ │ │ └── res │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── include_flutter.groovy │ ├── local.properties │ ├── settings.gradle │ └── src │ │ └── main │ │ └── AndroidManifest.xml ├── .flutter-plugins ├── .flutter-plugins-dependencies ├── .gitignore ├── .ios │ ├── .symlinks │ │ └── plugins │ │ │ ├── flutter_boost │ │ │ ├── path_provider_foundation │ │ │ ├── shared_preferences_foundation │ │ │ └── sqflite_darwin │ ├── Config │ │ ├── Debug.xcconfig │ │ ├── Flutter.xcconfig │ │ └── Release.xcconfig │ ├── Flutter │ │ ├── AppFrameworkInfo.plist │ │ ├── Flutter.podspec │ │ ├── FlutterPluginRegistrant │ │ │ ├── Classes │ │ │ │ ├── GeneratedPluginRegistrant.h │ │ │ │ └── GeneratedPluginRegistrant.m │ │ │ └── FlutterPluginRegistrant.podspec │ │ ├── Generated.xcconfig │ │ ├── README.md │ │ ├── flutter_export_environment.sh │ │ └── podhelper.rb │ ├── Podfile.lock │ ├── Pods │ │ ├── Local Podspecs │ │ │ ├── Flutter.podspec.json │ │ │ ├── FlutterPluginRegistrant.podspec.json │ │ │ ├── flutter_boost.podspec.json │ │ │ ├── path_provider_foundation.podspec.json │ │ │ ├── shared_preferences_foundation.podspec.json │ │ │ └── sqflite_darwin.podspec.json │ │ ├── Manifest.lock │ │ ├── Pods.xcodeproj │ │ │ └── xcuserdata │ │ │ │ └── jiangjunhui.xcuserdatad │ │ │ │ └── xcschemes │ │ │ │ ├── Flutter.xcscheme │ │ │ │ ├── FlutterPluginRegistrant.xcscheme │ │ │ │ ├── Pods-Runner.xcscheme │ │ │ │ ├── flutter_boost.xcscheme │ │ │ │ ├── path_provider_foundation-path_provider_foundation_privacy.xcscheme │ │ │ │ ├── path_provider_foundation.xcscheme │ │ │ │ ├── shared_preferences_foundation-shared_preferences_foundation_privacy.xcscheme │ │ │ │ ├── shared_preferences_foundation.xcscheme │ │ │ │ ├── sqflite_darwin-sqflite_darwin_privacy.xcscheme │ │ │ │ ├── sqflite_darwin.xcscheme │ │ │ │ └── xcschememanagement.plist │ │ └── Target Support Files │ │ │ ├── Flutter │ │ │ ├── Flutter.debug.xcconfig │ │ │ └── Flutter.release.xcconfig │ │ │ ├── FlutterPluginRegistrant │ │ │ ├── FlutterPluginRegistrant-Info.plist │ │ │ ├── FlutterPluginRegistrant-dummy.m │ │ │ ├── FlutterPluginRegistrant-prefix.pch │ │ │ ├── FlutterPluginRegistrant-umbrella.h │ │ │ ├── FlutterPluginRegistrant.debug.xcconfig │ │ │ ├── FlutterPluginRegistrant.modulemap │ │ │ └── FlutterPluginRegistrant.release.xcconfig │ │ │ ├── Pods-Runner │ │ │ ├── Pods-Runner-Info.plist │ │ │ ├── Pods-Runner-acknowledgements.markdown │ │ │ ├── Pods-Runner-acknowledgements.plist │ │ │ ├── Pods-Runner-dummy.m │ │ │ ├── Pods-Runner-frameworks-Debug-input-files.xcfilelist │ │ │ ├── Pods-Runner-frameworks-Debug-output-files.xcfilelist │ │ │ ├── Pods-Runner-frameworks-Profile-input-files.xcfilelist │ │ │ ├── Pods-Runner-frameworks-Profile-output-files.xcfilelist │ │ │ ├── Pods-Runner-frameworks-Release-input-files.xcfilelist │ │ │ ├── Pods-Runner-frameworks-Release-output-files.xcfilelist │ │ │ ├── Pods-Runner-frameworks.sh │ │ │ ├── Pods-Runner-umbrella.h │ │ │ ├── Pods-Runner.debug.xcconfig │ │ │ ├── Pods-Runner.modulemap │ │ │ ├── Pods-Runner.profile.xcconfig │ │ │ └── Pods-Runner.release.xcconfig │ │ │ ├── flutter_boost │ │ │ ├── flutter_boost-Info.plist │ │ │ ├── flutter_boost-dummy.m │ │ │ ├── flutter_boost-prefix.pch │ │ │ ├── flutter_boost-umbrella.h │ │ │ ├── flutter_boost.debug.xcconfig │ │ │ ├── flutter_boost.modulemap │ │ │ └── flutter_boost.release.xcconfig │ │ │ ├── path_provider_foundation │ │ │ ├── ResourceBundle-path_provider_foundation_privacy-path_provider_foundation-Info.plist │ │ │ ├── path_provider_foundation-Info.plist │ │ │ ├── path_provider_foundation-dummy.m │ │ │ ├── path_provider_foundation-prefix.pch │ │ │ ├── path_provider_foundation-umbrella.h │ │ │ ├── path_provider_foundation.debug.xcconfig │ │ │ ├── path_provider_foundation.modulemap │ │ │ └── path_provider_foundation.release.xcconfig │ │ │ ├── shared_preferences_foundation │ │ │ ├── ResourceBundle-shared_preferences_foundation_privacy-shared_preferences_foundation-Info.plist │ │ │ ├── shared_preferences_foundation-Info.plist │ │ │ ├── shared_preferences_foundation-dummy.m │ │ │ ├── shared_preferences_foundation-prefix.pch │ │ │ ├── shared_preferences_foundation-umbrella.h │ │ │ ├── shared_preferences_foundation.debug.xcconfig │ │ │ ├── shared_preferences_foundation.modulemap │ │ │ └── shared_preferences_foundation.release.xcconfig │ │ │ └── sqflite_darwin │ │ │ ├── ResourceBundle-sqflite_darwin_privacy-sqflite_darwin-Info.plist │ │ │ ├── sqflite_darwin-Info.plist │ │ │ ├── sqflite_darwin-dummy.m │ │ │ ├── sqflite_darwin-prefix.pch │ │ │ ├── sqflite_darwin-umbrella.h │ │ │ ├── sqflite_darwin.debug.xcconfig │ │ │ ├── sqflite_darwin.modulemap │ │ │ └── sqflite_darwin.release.xcconfig │ ├── Runner.xcodeproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ └── WorkspaceSettings.xcsettings │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── Runner.xcscheme │ ├── Runner.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── Runner │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── 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-83.5x83.5@2x.png │ │ └── LaunchImage.imageset │ │ │ ├── Contents.json │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ └── README.md │ │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ │ ├── Info.plist │ │ └── main.m ├── .metadata ├── README.md ├── analysis_options.yaml ├── devtools_options.yaml ├── flutter_module.iml ├── flutter_module_android.iml ├── images │ ├── cat.png │ ├── icon1.png │ ├── icon2.png │ └── pavlova.jpg ├── lib │ ├── app │ │ ├── global │ │ │ ├── channel │ │ │ │ └── app_channel.dart │ │ │ ├── constants │ │ │ │ ├── color_manager.dart │ │ │ │ ├── constant.dart │ │ │ │ └── text_size_manager.dart │ │ │ ├── eventBus │ │ │ │ └── user_loggedIn_event.dart │ │ │ ├── pageRouter │ │ │ │ ├── router_guard.dart │ │ │ │ ├── router_page.dart │ │ │ │ └── router_path.dart │ │ │ └── userInfo │ │ │ │ └── userInfo_manager.dart │ │ ├── pages │ │ │ ├── flutter_boost_demo │ │ │ │ ├── Flutter_D.dart │ │ │ │ ├── Flutter_E.dart │ │ │ │ ├── Flutter_G.dart │ │ │ │ └── flutter_B.dart │ │ │ ├── login │ │ │ │ └── login_page.dart │ │ │ └── test │ │ │ │ ├── cache_image_page.dart │ │ │ │ ├── color_page.dart │ │ │ │ ├── date_page.dart │ │ │ │ ├── db_page.dart │ │ │ │ ├── event_bus_page.dart │ │ │ │ ├── flutter_call_native.dart │ │ │ │ ├── model │ │ │ │ ├── login_model.dart │ │ │ │ ├── login_model.g.dart │ │ │ │ ├── userinfo_model.dart │ │ │ │ └── userinfo_model.g.dart │ │ │ │ ├── network_service_page.dart │ │ │ │ ├── refresh_widget_page.dart │ │ │ │ ├── test1_router_page.dart │ │ │ │ ├── test2_router_page.dart │ │ │ │ ├── test3_touter_page.dart │ │ │ │ ├── test4_router_page.dart │ │ │ │ ├── test_router_page.dart │ │ │ │ └── toast_utils_page.dart │ │ └── root_pages.dart │ ├── core │ │ ├── baseWidget │ │ │ ├── base_controller.dart │ │ │ └── base_widget_page.dart │ │ ├── cacheImage │ │ │ ├── cache_image.dart │ │ │ ├── cache_image_manager.dart │ │ │ └── image_size.dart │ │ ├── crypto │ │ │ └── crypto_utils.dart │ │ ├── data │ │ │ ├── db │ │ │ │ └── database_helper.dart │ │ │ ├── file │ │ │ │ └── file_utils.dart │ │ │ └── sp │ │ │ │ └── sp.dart │ │ ├── dialog │ │ │ ├── custom_bottom_sheet_content.dart │ │ │ ├── custom_dialog.dart │ │ │ └── dialog_queue.dart │ │ ├── eventBus │ │ │ └── event_bus_util.dart │ │ ├── flutter_boost_wrapper │ │ │ ├── core │ │ │ │ ├── boost_bridge.dart │ │ │ │ ├── lifecycle_manager.dart │ │ │ │ └── route_mapper.dart │ │ │ ├── custom_flutter_binding.dart │ │ │ ├── exception │ │ │ │ └── boost_error_handler.dart │ │ │ ├── navigator │ │ │ │ ├── boost_navigator.dart │ │ │ │ └── route_interceptor.dart │ │ │ └── params │ │ │ │ ├── boost_params.dart │ │ │ │ └── global_context.dart │ │ ├── http │ │ │ ├── core │ │ │ │ ├── demo_api.dart │ │ │ │ ├── my_request_options.dart │ │ │ │ └── network_service.dart │ │ │ ├── interceptors │ │ │ │ ├── custom_cache_Interceptor.dart │ │ │ │ ├── custom_log_interceptor.dart │ │ │ │ ├── data_transform_Interceptor.dart │ │ │ │ ├── error_handle_Interceptor.dart │ │ │ │ ├── loading_interceptor.dart │ │ │ │ └── refresh_token_interceptors.dart │ │ │ ├── manager │ │ │ │ ├── custom_HttpClient_adapter.dart │ │ │ │ ├── my_cache_newwork_manager.dart │ │ │ │ └── my_dio_manager.dart │ │ │ └── model │ │ │ │ ├── my_base_list_model.dart │ │ │ │ ├── my_base_list_model.g.dart │ │ │ │ ├── my_base_model.dart │ │ │ │ ├── my_base_model.g.dart │ │ │ │ └── my_response_model.dart │ │ ├── jsonConverter │ │ │ ├── json_type_adapter.dart │ │ │ ├── safe_convert_model.dart │ │ │ ├── safe_dateTime_converter.dart │ │ │ ├── safe_list_converter.dart │ │ │ ├── safe_map_converter.dart │ │ │ └── safe_num_converter.dart │ │ ├── log │ │ │ └── log.dart │ │ ├── refresh │ │ │ └── custom_refresh_widget.dart │ │ ├── router │ │ │ ├── my_router.dart │ │ │ ├── route_aware_state.dart │ │ │ ├── router_observer.dart │ │ │ └── router_url.dart │ │ ├── rxStream │ │ │ └── rxStream.dart │ │ ├── screenutil │ │ │ ├── screen_adapter.dart │ │ │ └── screen_extension.dart │ │ ├── toast │ │ │ └── toast_util.dart │ │ ├── utils │ │ │ ├── date_untils.dart │ │ │ ├── debounce │ │ │ │ ├── debounce_textField.dart │ │ │ │ ├── debounce_util.dart │ │ │ │ ├── throttle_button.dart │ │ │ │ └── throttle_util.dart │ │ │ ├── double_extension.dart │ │ │ ├── extension_color.dart │ │ │ ├── extension_list.dart │ │ │ ├── extension_map.dart │ │ │ ├── extension_string.dart │ │ │ ├── handle_error_utils.dart │ │ │ ├── image_extension.dart │ │ │ ├── json_utils.dart │ │ │ ├── logger_utils.dart │ │ │ ├── null_safety_utils.dart │ │ │ ├── object_utils.dart │ │ │ ├── string_utils.dart │ │ │ ├── textfield_extension.dart │ │ │ ├── utils.dart │ │ │ └── widget_extension.dart │ │ └── widgets │ │ │ ├── Unknown_widget.dart │ │ │ └── custom_appBar_widget.dart │ └── main.dart ├── pubspec.lock ├── pubspec.yaml └── test │ └── widget_test.dart ├── iosDemo ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ ├── Flutter.podspec.json │ │ ├── FlutterPluginRegistrant.podspec.json │ │ ├── flutter_boost.podspec.json │ │ ├── path_provider_foundation.podspec.json │ │ ├── shared_preferences_foundation.podspec.json │ │ └── sqflite_darwin.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ └── xcuserdata │ │ │ └── jiangjunhui.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── Flutter.xcscheme │ │ │ ├── FlutterPluginRegistrant.xcscheme │ │ │ ├── Pods-iosDemo.xcscheme │ │ │ ├── flutter_boost.xcscheme │ │ │ ├── path_provider_foundation-path_provider_foundation_privacy.xcscheme │ │ │ ├── path_provider_foundation.xcscheme │ │ │ ├── shared_preferences_foundation-shared_preferences_foundation_privacy.xcscheme │ │ │ ├── shared_preferences_foundation.xcscheme │ │ │ ├── sqflite_darwin-sqflite_darwin_privacy.xcscheme │ │ │ ├── sqflite_darwin.xcscheme │ │ │ └── xcschememanagement.plist │ └── Target Support Files │ │ ├── Flutter │ │ ├── Flutter.debug.xcconfig │ │ └── Flutter.release.xcconfig │ │ ├── FlutterPluginRegistrant │ │ ├── FlutterPluginRegistrant-Info.plist │ │ ├── FlutterPluginRegistrant-dummy.m │ │ ├── FlutterPluginRegistrant-prefix.pch │ │ ├── FlutterPluginRegistrant-umbrella.h │ │ ├── FlutterPluginRegistrant.debug.xcconfig │ │ ├── FlutterPluginRegistrant.modulemap │ │ └── FlutterPluginRegistrant.release.xcconfig │ │ ├── Pods-iosDemo │ │ ├── Pods-iosDemo-Info.plist │ │ ├── Pods-iosDemo-acknowledgements.markdown │ │ ├── Pods-iosDemo-acknowledgements.plist │ │ ├── Pods-iosDemo-dummy.m │ │ ├── Pods-iosDemo-frameworks.sh │ │ ├── Pods-iosDemo-umbrella.h │ │ ├── Pods-iosDemo.debug.xcconfig │ │ ├── Pods-iosDemo.modulemap │ │ └── Pods-iosDemo.release.xcconfig │ │ ├── flutter_boost │ │ ├── flutter_boost-Info.plist │ │ ├── flutter_boost-dummy.m │ │ ├── flutter_boost-prefix.pch │ │ ├── flutter_boost-umbrella.h │ │ ├── flutter_boost.debug.xcconfig │ │ ├── flutter_boost.modulemap │ │ └── flutter_boost.release.xcconfig │ │ ├── path_provider_foundation │ │ ├── ResourceBundle-path_provider_foundation_privacy-path_provider_foundation-Info.plist │ │ ├── path_provider_foundation-Info.plist │ │ ├── path_provider_foundation-dummy.m │ │ ├── path_provider_foundation-prefix.pch │ │ ├── path_provider_foundation-umbrella.h │ │ ├── path_provider_foundation.debug.xcconfig │ │ ├── path_provider_foundation.modulemap │ │ └── path_provider_foundation.release.xcconfig │ │ ├── shared_preferences_foundation │ │ ├── ResourceBundle-shared_preferences_foundation_privacy-shared_preferences_foundation-Info.plist │ │ ├── shared_preferences_foundation-Info.plist │ │ ├── shared_preferences_foundation-dummy.m │ │ ├── shared_preferences_foundation-prefix.pch │ │ ├── shared_preferences_foundation-umbrella.h │ │ ├── shared_preferences_foundation.debug.xcconfig │ │ ├── shared_preferences_foundation.modulemap │ │ └── shared_preferences_foundation.release.xcconfig │ │ └── sqflite_darwin │ │ ├── ResourceBundle-sqflite_darwin_privacy-sqflite_darwin-Info.plist │ │ ├── sqflite_darwin-Info.plist │ │ ├── sqflite_darwin-dummy.m │ │ ├── sqflite_darwin-prefix.pch │ │ ├── sqflite_darwin-umbrella.h │ │ ├── sqflite_darwin.debug.xcconfig │ │ ├── sqflite_darwin.modulemap │ │ └── sqflite_darwin.release.xcconfig ├── iosDemo.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcuserdata │ │ │ └── jiangjunhui.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcuserdata │ │ └── jiangjunhui.xcuserdatad │ │ └── xcschemes │ │ └── xcschememanagement.plist ├── iosDemo.xcworkspace │ ├── contents.xcworkspacedata │ └── xcuserdata │ │ └── jiangjunhui.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist ├── iosDemo │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AccentColor.colorset │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── FlutterEngineManager.swift │ ├── Info.plist │ ├── SceneDelegate.swift │ └── ViewController.swift └── podfile └── my_flutter_demo ├── .gitignore ├── .metadata ├── README.md ├── analysis_options.yaml ├── android ├── .gitignore ├── app │ ├── build.gradle │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── kotlin │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── my_flutter_demo │ │ │ │ └── MainActivity.kt │ │ └── res │ │ │ ├── drawable-v21 │ │ │ └── launch_background.xml │ │ │ ├── drawable │ │ │ └── launch_background.xml │ │ │ ├── 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 │ │ │ ├── values-night │ │ │ └── styles.xml │ │ │ └── values │ │ │ └── styles.xml │ │ └── profile │ │ └── AndroidManifest.xml ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ └── gradle-wrapper.properties └── settings.gradle ├── devtools_options.yaml ├── ios ├── .gitignore ├── Flutter │ ├── AppFrameworkInfo.plist │ ├── Debug.xcconfig │ └── Release.xcconfig ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ └── WorkspaceSettings.xcsettings │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ ├── IDEWorkspaceChecks.plist │ │ └── WorkspaceSettings.xcsettings ├── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ ├── 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-83.5x83.5@2x.png │ │ └── LaunchImage.imageset │ │ │ ├── Contents.json │ │ │ ├── LaunchImage.png │ │ │ ├── LaunchImage@2x.png │ │ │ ├── LaunchImage@3x.png │ │ │ └── README.md │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Info.plist │ └── Runner-Bridging-Header.h └── RunnerTests │ └── RunnerTests.swift ├── lib ├── bloc_demo │ ├── bloc │ │ └── counter │ │ │ ├── counter_bloc.dart │ │ │ ├── counter_event.dart │ │ │ └── counter_state.dart │ └── pages │ │ └── first_bloc_page.dart ├── bloc_main.dart ├── main.dart ├── provider_demo │ ├── models │ │ └── goods.dart │ ├── page │ │ ├── first_provider_page.dart │ │ ├── goods_collection_page.dart │ │ └── second_provider_page.dart │ └── viewmodels │ │ ├── auth_model.dart │ │ ├── counter_model.dart │ │ └── goodsList_Provider_model.dart └── provider_demo_main.dart ├── linux ├── .gitignore ├── CMakeLists.txt ├── flutter │ ├── CMakeLists.txt │ ├── generated_plugin_registrant.cc │ ├── generated_plugin_registrant.h │ └── generated_plugins.cmake ├── main.cc ├── my_application.cc └── my_application.h ├── macos ├── .gitignore ├── Flutter │ ├── Flutter-Debug.xcconfig │ ├── Flutter-Release.xcconfig │ └── GeneratedPluginRegistrant.swift ├── Runner.xcodeproj │ ├── project.xcworkspace │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── Runner.xcscheme ├── Runner.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── Runner │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ └── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── 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 │ ├── Base.lproj │ │ └── MainMenu.xib │ ├── Configs │ │ ├── AppInfo.xcconfig │ │ ├── Debug.xcconfig │ │ ├── Release.xcconfig │ │ └── Warnings.xcconfig │ ├── DebugProfile.entitlements │ ├── Info.plist │ ├── MainFlutterWindow.swift │ └── Release.entitlements └── RunnerTests │ └── RunnerTests.swift ├── pubspec.lock ├── pubspec.yaml ├── test └── widget_test.dart ├── web ├── favicon.png ├── icons │ ├── Icon-192.png │ ├── Icon-512.png │ ├── Icon-maskable-192.png │ └── Icon-maskable-512.png ├── index.html └── manifest.json └── windows ├── .gitignore ├── CMakeLists.txt ├── flutter ├── CMakeLists.txt ├── generated_plugin_registrant.cc ├── generated_plugin_registrant.h └── generated_plugins.cmake └── runner ├── CMakeLists.txt ├── Runner.rc ├── flutter_window.cpp ├── flutter_window.h ├── main.cpp ├── resource.h ├── resources └── app_icon.ico ├── runner.exe.manifest ├── utils.cpp ├── utils.h ├── win32_window.cpp └── win32_window.h /Flutter_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/Flutter_image.png -------------------------------------------------------------------------------- /flutter_module/.android/Flutter/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 11 | 13 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /flutter_module/.android/app/src/main/java/com/example/flutter_module/host/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.flutter_module.host; 2 | 3 | import io.flutter.embedding.android.FlutterActivity; 4 | 5 | public class MainActivity extends FlutterActivity { 6 | } 7 | -------------------------------------------------------------------------------- /flutter_module/.android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /flutter_module/.android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /flutter_module/.android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | -------------------------------------------------------------------------------- /flutter_module/.android/build.gradle: -------------------------------------------------------------------------------- 1 | // Generated file. Do not edit. 2 | 3 | buildscript { 4 | ext.kotlin_version = "1.7.10" 5 | repositories { 6 | google() 7 | mavenCentral() 8 | } 9 | 10 | dependencies { 11 | classpath("com.android.tools.build:gradle:7.3.0") 12 | classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version") 13 | } 14 | } 15 | 16 | allprojects { 17 | repositories { 18 | google() 19 | mavenCentral() 20 | } 21 | } 22 | 23 | apply plugin: "com.android.library" 24 | apply plugin: "kotlin-android" 25 | 26 | android { 27 | // Conditional for compatibility with AGP <4.2. 28 | if (project.android.hasProperty("namespace")) { 29 | namespace = "com.example.flutter_module" 30 | } 31 | 32 | compileSdk = 34 33 | defaultConfig { 34 | minSdk = 21 35 | targetSdk = 34 36 | } 37 | } 38 | 39 | dependencies { 40 | implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version") 41 | } 42 | -------------------------------------------------------------------------------- /flutter_module/.android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /flutter_module/.android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /flutter_module/.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.5-all.zip 6 | -------------------------------------------------------------------------------- /flutter_module/.android/include_flutter.groovy: -------------------------------------------------------------------------------- 1 | def scriptFile = getClass().protectionDomain.codeSource.location.toURI() 2 | def flutterProjectRoot = new File(scriptFile).parentFile.parentFile 3 | 4 | gradle.include ":flutter" 5 | gradle.project(":flutter").projectDir = new File(flutterProjectRoot, ".android/Flutter") 6 | 7 | def localPropertiesFile = new File(flutterProjectRoot, ".android/local.properties") 8 | def properties = new Properties() 9 | 10 | assert localPropertiesFile.exists(), "❗️The Flutter module doesn't have a `$localPropertiesFile` file." + 11 | "\nYou must run `flutter pub get` in `$flutterProjectRoot`." 12 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 13 | 14 | def flutterSdkPath = properties.getProperty("flutter.sdk") 15 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 16 | gradle.apply from: "$flutterSdkPath/packages/flutter_tools/gradle/module_plugin_loader.gradle" 17 | -------------------------------------------------------------------------------- /flutter_module/.android/local.properties: -------------------------------------------------------------------------------- 1 | sdk.dir=/Users/jiangjunhui/Library/Android/sdk 2 | flutter.sdk=/Users/jiangjunhui/flutter -------------------------------------------------------------------------------- /flutter_module/.android/settings.gradle: -------------------------------------------------------------------------------- 1 | // Generated file. Do not edit. 2 | include ':app' 3 | 4 | rootProject.name = 'android_generated' 5 | setBinding(new Binding([gradle: this])) 6 | evaluate(new File(settingsDir, 'include_flutter.groovy')) 7 | -------------------------------------------------------------------------------- /flutter_module/.android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | -------------------------------------------------------------------------------- /flutter_module/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter 生成的文件和目录 2 | .dart_tool/ 3 | .packages 4 | .pub-cache/ 5 | .pub/ 6 | build/ 7 | flutter_*.png 8 | *.swp 9 | 10 | # 本地开发环境文件 11 | .env 12 | .env.local 13 | .env.*.local 14 | 15 | # IDE 配置文件 16 | .idea/ 17 | .vscode/ 18 | *.iml 19 | *.ipr 20 | *.iws 21 | 22 | # Android 相关 23 | /android/local.properties 24 | /android/key.properties 25 | /android/**/GeneratedPluginRegistrant.java 26 | 27 | # iOS 相关 28 | /ios/Flutter/Generated.xcconfig 29 | /ios/Flutter/flutter_export_environment.sh 30 | /ios/.generated/ 31 | /ios/Pods/ 32 | /ios/Runner/GeneratedPluginRegistrant.* 33 | 34 | # macOS 相关 35 | .macos/ 36 | 37 | # 操作系统生成的文件 38 | .DS_Store 39 | Thumbs.db 40 | 41 | # 日志文件 42 | *.log 43 | 44 | # 本地依赖目录(如手动添加的插件) 45 | .fvm/ 46 | 47 | # 测试覆盖率文件 48 | coverage/ 49 | 50 | # 缓存文件 51 | *.lock # 注意:pubspec.lock 应该提交,所以不要忽略它! -------------------------------------------------------------------------------- /flutter_module/.ios/.symlinks/plugins/flutter_boost: -------------------------------------------------------------------------------- 1 | /Users/jiangjunhui/.pub-cache/git/flutter_boost-6df80cc1ea425cde1bac7d0265407977221061df/ -------------------------------------------------------------------------------- /flutter_module/.ios/.symlinks/plugins/path_provider_foundation: -------------------------------------------------------------------------------- 1 | /Users/jiangjunhui/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/ -------------------------------------------------------------------------------- /flutter_module/.ios/.symlinks/plugins/shared_preferences_foundation: -------------------------------------------------------------------------------- 1 | /Users/jiangjunhui/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/ -------------------------------------------------------------------------------- /flutter_module/.ios/.symlinks/plugins/sqflite_darwin: -------------------------------------------------------------------------------- 1 | /Users/jiangjunhui/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.1+1/ -------------------------------------------------------------------------------- /flutter_module/.ios/Config/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Flutter.xcconfig" 2 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter_module/.ios/Config/Flutter.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../Flutter/Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /flutter_module/.ios/Config/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Flutter.xcconfig" 2 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 3 | -------------------------------------------------------------------------------- /flutter_module/.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 | 12.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter_module/.ios/Flutter/Flutter.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # This podspec is NOT to be published. It is only used as a local source! 3 | # This is a generated file; do not edit or check into version control. 4 | # 5 | 6 | Pod::Spec.new do |s| 7 | s.name = 'Flutter' 8 | s.version = '1.0.0' 9 | s.summary = 'A UI toolkit for beautiful and fast apps.' 10 | s.homepage = 'https://flutter.dev' 11 | s.license = { :type => 'BSD' } 12 | s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' } 13 | s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s } 14 | s.ios.deployment_target = '12.0' 15 | # Framework linking is handled by Flutter tooling, not CocoaPods. 16 | # Add a placeholder to satisfy `s.dependency 'Flutter'` plugin podspecs. 17 | s.vendored_frameworks = 'path/to/nothing' 18 | end 19 | -------------------------------------------------------------------------------- /flutter_module/.ios/Flutter/FlutterPluginRegistrant/Classes/GeneratedPluginRegistrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GeneratedPluginRegistrant_h 8 | #define GeneratedPluginRegistrant_h 9 | 10 | #import 11 | 12 | NS_ASSUME_NONNULL_BEGIN 13 | 14 | @interface GeneratedPluginRegistrant : NSObject 15 | + (void)registerWithRegistry:(NSObject*)registry; 16 | @end 17 | 18 | NS_ASSUME_NONNULL_END 19 | #endif /* GeneratedPluginRegistrant_h */ 20 | -------------------------------------------------------------------------------- /flutter_module/.ios/Flutter/FlutterPluginRegistrant/FlutterPluginRegistrant.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | Pod::Spec.new do |s| 6 | s.name = 'FlutterPluginRegistrant' 7 | s.version = '0.0.1' 8 | s.summary = 'Registers plugins with your Flutter app' 9 | s.description = <<-DESC 10 | Depends on all your plugins, and provides a function to register them. 11 | DESC 12 | s.homepage = 'https://flutter.dev' 13 | s.license = { :type => 'BSD' } 14 | s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' } 15 | s.ios.deployment_target = '12.0' 16 | s.source_files = "Classes", "Classes/**/*.{h,m}" 17 | s.source = { :path => '.' } 18 | s.public_header_files = './Classes/**/*.h' 19 | s.static_framework = true 20 | s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } 21 | s.dependency 'Flutter' 22 | s.dependency 'flutter_boost' 23 | s.dependency 'path_provider_foundation' 24 | s.dependency 'shared_preferences_foundation' 25 | s.dependency 'sqflite_darwin' 26 | end 27 | -------------------------------------------------------------------------------- /flutter_module/.ios/Flutter/Generated.xcconfig: -------------------------------------------------------------------------------- 1 | // This is a generated file; do not edit or check into version control. 2 | FLUTTER_ROOT=/Users/jiangjunhui/flutter 3 | FLUTTER_APPLICATION_PATH=/Users/jiangjunhui/Desktop/flutter-tool/flutter_module 4 | COCOAPODS_PARALLEL_CODE_SIGN=true 5 | FLUTTER_TARGET=/Users/jiangjunhui/Desktop/flutter-tool/flutter_module/lib/main.dart 6 | FLUTTER_BUILD_DIR=build 7 | FLUTTER_BUILD_NAME=1.0.0 8 | FLUTTER_BUILD_NUMBER=1 9 | EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386 10 | EXCLUDED_ARCHS[sdk=iphoneos*]=armv7 11 | DART_DEFINES=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl 12 | DART_OBFUSCATION=false 13 | TRACK_WIDGET_CREATION=true 14 | TREE_SHAKE_ICONS=false 15 | PACKAGE_CONFIG=/Users/jiangjunhui/Desktop/flutter-tool/flutter_module/.dart_tool/package_config.json 16 | -------------------------------------------------------------------------------- /flutter_module/.ios/Flutter/README.md: -------------------------------------------------------------------------------- 1 | This directory contains support code for embedding the Flutter project in an iOS app. 2 | It should not be edited or checked in. 3 | -------------------------------------------------------------------------------- /flutter_module/.ios/Flutter/flutter_export_environment.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This is a generated file; do not edit or check into version control. 3 | export "FLUTTER_ROOT=/Users/jiangjunhui/flutter" 4 | export "FLUTTER_APPLICATION_PATH=/Users/jiangjunhui/Desktop/flutter-tool/flutter_module" 5 | export "COCOAPODS_PARALLEL_CODE_SIGN=true" 6 | export "FLUTTER_TARGET=/Users/jiangjunhui/Desktop/flutter-tool/flutter_module/lib/main.dart" 7 | export "FLUTTER_BUILD_DIR=build" 8 | export "FLUTTER_BUILD_NAME=1.0.0" 9 | export "FLUTTER_BUILD_NUMBER=1" 10 | export "DART_DEFINES=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl" 11 | export "DART_OBFUSCATION=false" 12 | export "TRACK_WIDGET_CREATION=true" 13 | export "TREE_SHAKE_ICONS=false" 14 | export "PACKAGE_CONFIG=/Users/jiangjunhui/Desktop/flutter-tool/flutter_module/.dart_tool/package_config.json" 15 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Local Podspecs/Flutter.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Flutter", 3 | "version": "1.0.0", 4 | "summary": "A UI toolkit for beautiful and fast apps.", 5 | "homepage": "https://flutter.dev", 6 | "license": { 7 | "type": "BSD" 8 | }, 9 | "authors": { 10 | "Flutter Dev Team": "flutter-dev@googlegroups.com" 11 | }, 12 | "source": { 13 | "git": "https://github.com/flutter/engine", 14 | "tag": "1.0.0" 15 | }, 16 | "platforms": { 17 | "ios": "12.0" 18 | }, 19 | "vendored_frameworks": "path/to/nothing" 20 | } 21 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Local Podspecs/FlutterPluginRegistrant.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FlutterPluginRegistrant", 3 | "version": "0.0.1", 4 | "summary": "Registers plugins with your Flutter app", 5 | "description": "Depends on all your plugins, and provides a function to register them.", 6 | "homepage": "https://flutter.dev", 7 | "license": { 8 | "type": "BSD" 9 | }, 10 | "authors": { 11 | "Flutter Dev Team": "flutter-dev@googlegroups.com" 12 | }, 13 | "platforms": { 14 | "ios": "12.0" 15 | }, 16 | "source_files": [ 17 | "Classes", 18 | "Classes/**/*.{h,m}" 19 | ], 20 | "source": { 21 | "path": "." 22 | }, 23 | "public_header_files": "./Classes/**/*.h", 24 | "static_framework": true, 25 | "pod_target_xcconfig": { 26 | "DEFINES_MODULE": "YES" 27 | }, 28 | "dependencies": { 29 | "Flutter": [], 30 | "flutter_boost": [], 31 | "path_provider_foundation": [], 32 | "shared_preferences_foundation": [], 33 | "sqflite_darwin": [] 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Local Podspecs/flutter_boost.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "flutter_boost", 3 | "version": "0.0.2", 4 | "summary": "A new Flutter plugin make flutter better to use!", 5 | "description": "A new Flutter plugin make flutter better to use!", 6 | "homepage": "http://example.com", 7 | "license": { 8 | "file": "../LICENSE" 9 | }, 10 | "authors": { 11 | "Alibaba Xianyu": "email@example.com" 12 | }, 13 | "source": { 14 | "path": "." 15 | }, 16 | "source_files": "Classes/**/*.{h,m,mm}", 17 | "public_header_files": [ 18 | "Classes/FlutterBoost.h", 19 | "Classes/FlutterBoostDelegate.h", 20 | "Classes/FlutterBoostPlugin.h", 21 | "Classes/container/FBFlutterViewContainer.h", 22 | "Classes/container/FBFlutterContainer.h", 23 | "Classes/Options.h", 24 | "Classes/messages.h" 25 | ], 26 | "dependencies": { 27 | "Flutter": [] 28 | }, 29 | "libraries": "c++", 30 | "pod_target_xcconfig": { 31 | "CLANG_CXX_LANGUAGE_STANDARD": "c++11", 32 | "CLANG_CXX_LIBRARY": "libc++" 33 | }, 34 | "platforms": { 35 | "ios": "8.0" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Flutter/Flutter.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Flutter 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../Flutter 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Flutter/Flutter.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Flutter 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../Flutter 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FlutterPluginRegistrant : NSObject 3 | @end 4 | @implementation PodsDummy_FlutterPluginRegistrant 5 | @end 6 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "GeneratedPluginRegistrant.h" 14 | 15 | FOUNDATION_EXPORT double FlutterPluginRegistrantVersionNumber; 16 | FOUNDATION_EXPORT const unsigned char FlutterPluginRegistrantVersionString[]; 17 | 18 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant 3 | DEFINES_MODULE = YES 4 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/flutter_boost" "${PODS_CONFIGURATION_BUILD_DIR}/path_provider_foundation" "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences_foundation" "${PODS_CONFIGURATION_BUILD_DIR}/sqflite_darwin" 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../Flutter/FlutterPluginRegistrant 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.modulemap: -------------------------------------------------------------------------------- 1 | framework module FlutterPluginRegistrant { 2 | umbrella header "FlutterPluginRegistrant-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant 3 | DEFINES_MODULE = YES 4 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/flutter_boost" "${PODS_CONFIGURATION_BUILD_DIR}/path_provider_foundation" "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences_foundation" "${PODS_CONFIGURATION_BUILD_DIR}/sqflite_darwin" 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../Flutter/FlutterPluginRegistrant 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Runner : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Runner 5 | @end 6 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Debug-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/flutter_boost/flutter_boost.framework 3 | ${BUILT_PRODUCTS_DIR}/path_provider_foundation/path_provider_foundation.framework 4 | ${BUILT_PRODUCTS_DIR}/shared_preferences_foundation/shared_preferences_foundation.framework 5 | ${BUILT_PRODUCTS_DIR}/sqflite_darwin/sqflite_darwin.framework -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Debug-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_boost.framework 2 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider_foundation.framework 3 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences_foundation.framework 4 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sqflite_darwin.framework -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Profile-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/flutter_boost/flutter_boost.framework 3 | ${BUILT_PRODUCTS_DIR}/path_provider_foundation/path_provider_foundation.framework 4 | ${BUILT_PRODUCTS_DIR}/shared_preferences_foundation/shared_preferences_foundation.framework 5 | ${BUILT_PRODUCTS_DIR}/sqflite_darwin/sqflite_darwin.framework -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Profile-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_boost.framework 2 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider_foundation.framework 3 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences_foundation.framework 4 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sqflite_darwin.framework -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/flutter_boost/flutter_boost.framework 3 | ${BUILT_PRODUCTS_DIR}/path_provider_foundation/path_provider_foundation.framework 4 | ${BUILT_PRODUCTS_DIR}/shared_preferences_foundation/shared_preferences_foundation.framework 5 | ${BUILT_PRODUCTS_DIR}/sqflite_darwin/sqflite_darwin.framework -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks-Release-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_boost.framework 2 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider_foundation.framework 3 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences_foundation.framework 4 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sqflite_darwin.framework -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_RunnerVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_RunnerVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/Pods-Runner/Pods-Runner.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_Runner { 2 | umbrella header "Pods-Runner-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/flutter_boost/flutter_boost-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.2 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/flutter_boost/flutter_boost-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_flutter_boost : NSObject 3 | @end 4 | @implementation PodsDummy_flutter_boost 5 | @end 6 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/flutter_boost/flutter_boost-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/flutter_boost/flutter_boost-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "FlutterBoost.h" 14 | #import "FlutterBoostDelegate.h" 15 | #import "FlutterBoostPlugin.h" 16 | #import "FBFlutterViewContainer.h" 17 | #import "FBFlutterContainer.h" 18 | #import "Options.h" 19 | #import "messages.h" 20 | 21 | FOUNDATION_EXPORT double flutter_boostVersionNumber; 22 | FOUNDATION_EXPORT const unsigned char flutter_boostVersionString[]; 23 | 24 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/flutter_boost/flutter_boost.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_CXX_LANGUAGE_STANDARD = c++11 2 | CLANG_CXX_LIBRARY = libc++ 3 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 4 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/flutter_boost 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | OTHER_LDFLAGS = $(inherited) -l"c++" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/flutter_boost/ios 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/flutter_boost/flutter_boost.modulemap: -------------------------------------------------------------------------------- 1 | framework module flutter_boost { 2 | umbrella header "flutter_boost-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/flutter_boost/flutter_boost.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_CXX_LANGUAGE_STANDARD = c++11 2 | CLANG_CXX_LIBRARY = libc++ 3 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 4 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/flutter_boost 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | OTHER_LDFLAGS = $(inherited) -l"c++" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/flutter_boost/ios 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/path_provider_foundation/ResourceBundle-path_provider_foundation_privacy-path_provider_foundation-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.0.1 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/path_provider_foundation/path_provider_foundation-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/path_provider_foundation/path_provider_foundation-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_path_provider_foundation : NSObject 3 | @end 4 | @implementation PodsDummy_path_provider_foundation 5 | @end 6 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/path_provider_foundation/path_provider_foundation-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/path_provider_foundation/path_provider_foundation-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double path_provider_foundationVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char path_provider_foundationVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/path_provider_foundation/path_provider_foundation.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/path_provider_foundation 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/path_provider_foundation/darwin 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/path_provider_foundation/path_provider_foundation.modulemap: -------------------------------------------------------------------------------- 1 | framework module path_provider_foundation { 2 | umbrella header "path_provider_foundation-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/path_provider_foundation/path_provider_foundation.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/path_provider_foundation 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/path_provider_foundation/darwin 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/shared_preferences_foundation/ResourceBundle-shared_preferences_foundation_privacy-shared_preferences_foundation-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.0.1 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_shared_preferences_foundation : NSObject 3 | @end 4 | @implementation PodsDummy_shared_preferences_foundation 5 | @end 6 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double shared_preferences_foundationVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char shared_preferences_foundationVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences_foundation 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift 6 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 11 | PODS_ROOT = ${SRCROOT} 12 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/shared_preferences_foundation/darwin 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 15 | SKIP_INSTALL = YES 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation.modulemap: -------------------------------------------------------------------------------- 1 | framework module shared_preferences_foundation { 2 | umbrella header "shared_preferences_foundation-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences_foundation 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift 6 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 11 | PODS_ROOT = ${SRCROOT} 12 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/shared_preferences_foundation/darwin 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 15 | SKIP_INSTALL = YES 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/sqflite_darwin/ResourceBundle-sqflite_darwin_privacy-sqflite_darwin-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.0.4 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/sqflite_darwin/sqflite_darwin-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.4 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/sqflite_darwin/sqflite_darwin-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_sqflite_darwin : NSObject 3 | @end 4 | @implementation PodsDummy_sqflite_darwin 5 | @end 6 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/sqflite_darwin/sqflite_darwin-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/sqflite_darwin/sqflite_darwin-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "SqfliteImportPublic.h" 14 | #import "SqflitePluginPublic.h" 15 | 16 | FOUNDATION_EXPORT double sqflite_darwinVersionNumber; 17 | FOUNDATION_EXPORT const unsigned char sqflite_darwinVersionString[]; 18 | 19 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/sqflite_darwin/sqflite_darwin.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/sqflite_darwin 3 | DEFINES_MODULE = YES 4 | EXCLUDED_ARCHS[sdk=iphonesimulator*] = i386 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/sqflite_darwin/darwin 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/sqflite_darwin/sqflite_darwin.modulemap: -------------------------------------------------------------------------------- 1 | framework module sqflite_darwin { 2 | umbrella header "sqflite_darwin-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /flutter_module/.ios/Pods/Target Support Files/sqflite_darwin/sqflite_darwin.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/sqflite_darwin 3 | DEFINES_MODULE = YES 4 | EXCLUDED_ARCHS[sdk=iphonesimulator*] = i386 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.symlinks/plugins/sqflite_darwin/darwin 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : FlutterAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | #import "FlutterPluginRegistrant/GeneratedPluginRegistrant.h" 3 | 4 | @implementation AppDelegate 5 | 6 | - (BOOL)application:(UIApplication *)application 7 | didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 8 | [GeneratedPluginRegistrant registerWithRegistry:self]; 9 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 10 | } 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /flutter_module/.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 | -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /flutter_module/.ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/.ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /flutter_module/.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. -------------------------------------------------------------------------------- /flutter_module/.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 | -------------------------------------------------------------------------------- /flutter_module/.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: "80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819" 8 | channel: "stable" 9 | 10 | project_type: module 11 | -------------------------------------------------------------------------------- /flutter_module/README.md: -------------------------------------------------------------------------------- 1 | # flutter_module 2 | 3 | A new Flutter module project. 4 | 5 | ## Getting Started 6 | 7 | For help getting started with Flutter development, view the online 8 | [documentation](https://flutter.dev/). 9 | 10 | For instructions integrating Flutter modules to your existing applications, 11 | see the [add-to-app documentation](https://flutter.dev/to/add-to-app). 12 | -------------------------------------------------------------------------------- /flutter_module/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 | -------------------------------------------------------------------------------- /flutter_module/devtools_options.yaml: -------------------------------------------------------------------------------- 1 | description: This file stores settings for Dart & Flutter DevTools. 2 | documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states 3 | extensions: 4 | -------------------------------------------------------------------------------- /flutter_module/flutter_module.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /flutter_module/images/cat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/images/cat.png -------------------------------------------------------------------------------- /flutter_module/images/icon1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/images/icon1.png -------------------------------------------------------------------------------- /flutter_module/images/icon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/images/icon2.png -------------------------------------------------------------------------------- /flutter_module/images/pavlova.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/images/pavlova.jpg -------------------------------------------------------------------------------- /flutter_module/lib/app/global/constants/color_manager.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/28 3 | library; 4 | import 'package:flutter/material.dart'; 5 | import 'dart:ui'; 6 | 7 | // 定义颜色模式枚举 8 | enum ColorMode { 9 | light, 10 | dark, 11 | } 12 | 13 | // 颜色管理类 14 | class ColorManager { 15 | // 当前颜色模式 16 | static ColorMode _currentMode = ColorMode.light; 17 | 18 | // 设置颜色模式 19 | static void setColorMode(ColorMode mode) { 20 | _currentMode = mode; 21 | } 22 | 23 | // 获取当前颜色模式 24 | static ColorMode get currentMode => _currentMode; 25 | 26 | // 获取背景颜色 27 | static Color get backgroundColor { 28 | return _currentMode == ColorMode.light 29 | ? const Color(0xFFFFFFFF) // 白天模式白色背景 30 | : const Color(0xFF000000); // 暗夜模式黑色背景 31 | } 32 | 33 | // 获取文本颜色 34 | static Color get textColor { 35 | return _currentMode == ColorMode.light 36 | ? const Color(0xFF000000) // 白天模式黑色文本 37 | : const Color(0xFFFFFFFF); // 暗夜模式白色文本 38 | } 39 | 40 | // 获取主要颜色 41 | static Color get primaryColor { 42 | return _currentMode == ColorMode.light 43 | ? const Color(0xFF007BFF) // 白天模式蓝色主要颜色 44 | : const Color(0xFF0056b3); // 暗夜模式深蓝色主要颜色 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /flutter_module/lib/app/global/constants/constant.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2024/12/5 3 | library; 4 | 5 | class Constant { 6 | /// App运行在Release环境时,inProduction为true;当App运行在Debug和Profile环境时,inProduction为false 7 | static const bool inProduction = false; 8 | } 9 | -------------------------------------------------------------------------------- /flutter_module/lib/app/global/constants/text_size_manager.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/28 3 | library; 4 | import 'package:flutter/material.dart'; 5 | 6 | class TextSizeManager { 7 | // 设计稿基准宽度,根据实际设计稿修改 8 | static const double baseWidth = 375; 9 | 10 | // 根据设备宽度计算适配后的文字大小 11 | static double getAdaptiveTextSize(BuildContext context, double originalSize) { 12 | // 获取当前设备的屏幕宽度 13 | double screenWidth = MediaQuery.of(context).size.width; 14 | // 计算缩放比例 15 | double scale = screenWidth / baseWidth; 16 | // 返回适配后的文字大小 17 | return originalSize * scale; 18 | } 19 | 20 | // 提供不同字号的获取方法 21 | static double getSmallTextSize(BuildContext context) { 22 | return getAdaptiveTextSize(context, 12); 23 | } 24 | 25 | static double getMediumTextSize(BuildContext context) { 26 | return getAdaptiveTextSize(context, 16); 27 | } 28 | 29 | static double getLargeTextSize(BuildContext context) { 30 | return getAdaptiveTextSize(context, 20); 31 | } 32 | } -------------------------------------------------------------------------------- /flutter_module/lib/app/global/eventBus/user_loggedIn_event.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/7 3 | library; 4 | // 定义事件类 5 | class UserLoggedInEvent { 6 | final String username; 7 | UserLoggedInEvent(this.username); 8 | } 9 | 10 | // 定义另一个事件类 11 | class DataUpdatedEvent { 12 | final String data; 13 | 14 | DataUpdatedEvent(this.data); 15 | } 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /flutter_module/lib/app/global/pageRouter/router_guard.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/17 3 | library; 4 | 5 | import 'dart:async'; 6 | import 'package:flutter/material.dart'; 7 | import 'package:flutter_module/app/global/pageRouter/router_path.dart'; 8 | import 'package:go_router/go_router.dart'; 9 | 10 | class RouteGuard { 11 | static bool isLoggedIn = false; 12 | 13 | static FutureOr authGuard( 14 | BuildContext context, 15 | GoRouterState state, 16 | ) { 17 | debugPrint('loginRedirect :${state.name}'); 18 | const String userId = ""; 19 | if (userId.isEmpty) { 20 | return state.namedLocation(PagesURL.loginUrl.name); 21 | } 22 | return null; 23 | 24 | } 25 | } 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /flutter_module/lib/app/global/userInfo/userInfo_manager.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/3/11 3 | library; 4 | 5 | import 'dart:async'; 6 | import 'package:synchronized/synchronized.dart'; 7 | 8 | class UserInfoManager { 9 | // 静态私有实例 10 | static final UserInfoManager _instance = UserInfoManager._internal(); 11 | 12 | // 工厂方法返回单例实例 13 | factory UserInfoManager() { 14 | return _instance; 15 | } 16 | 17 | // 私有构造函数 18 | UserInfoManager._internal(); 19 | 20 | // 用于同步的锁 21 | final Lock _lock = Lock(); 22 | 23 | // 用户 ID 变量 24 | String? _userId; 25 | 26 | // 获取用户 ID 的方法,使用锁确保线程安全 27 | Future getUserId() async { 28 | return await _lock.synchronized(() async { 29 | return _userId; 30 | }); 31 | } 32 | 33 | // 设置用户 ID 的方法,使用锁确保线程安全 34 | Future setUserId(String? userId) async { 35 | await _lock.synchronized(() async { 36 | _userId = userId; 37 | }); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/flutter_boost_demo/Flutter_D.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/4/18 3 | library; 4 | import 'package:flutter/material.dart'; 5 | 6 | import '../../../core/widgets/custom_appBar_widget.dart'; 7 | 8 | class FlutterD extends StatelessWidget { 9 | const FlutterD({super.key}); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Scaffold( 14 | appBar: CustomAppBar( 15 | title: 'FlutterD', 16 | actions: const [ 17 | ], 18 | onBackPressed: () { 19 | // Handle back button press, if needed 20 | Navigator.pop(context); 21 | }, 22 | ), 23 | body: Container( 24 | 25 | ), 26 | ); 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/flutter_boost_demo/Flutter_E.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/4/18 3 | library; 4 | import 'package:flutter/material.dart'; 5 | 6 | import '../../../core/widgets/custom_appBar_widget.dart'; 7 | 8 | class FlutterE extends StatelessWidget { 9 | const FlutterE({super.key}); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Scaffold( 14 | appBar: CustomAppBar( 15 | title: 'FlutterE', 16 | actions: const [ 17 | ], 18 | onBackPressed: () { 19 | // Handle back button press, if needed 20 | Navigator.pop(context); 21 | }, 22 | ), 23 | body: Container( 24 | 25 | ), 26 | ); 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/flutter_boost_demo/Flutter_G.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/4/18 3 | library; 4 | import 'package:flutter/material.dart'; 5 | 6 | import '../../../core/widgets/custom_appBar_widget.dart'; 7 | 8 | class FlutterG extends StatelessWidget { 9 | const FlutterG({super.key}); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Scaffold( 14 | appBar: CustomAppBar( 15 | title: 'FlutterG', 16 | actions: const [ 17 | ], 18 | onBackPressed: () { 19 | // Handle back button press, if needed 20 | Navigator.pop(context); 21 | }, 22 | ), 23 | body: Container( 24 | 25 | ), 26 | ); 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/flutter_boost_demo/flutter_B.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/4/18 3 | library; 4 | import 'package:flutter/material.dart'; 5 | 6 | import '../../../core/widgets/custom_appBar_widget.dart'; 7 | 8 | class FlutterB extends StatelessWidget { 9 | const FlutterB({super.key}); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Scaffold( 14 | appBar: CustomAppBar( 15 | title: 'FlutterB', 16 | actions: const [ 17 | ], 18 | onBackPressed: () { 19 | // Handle back button press, if needed 20 | Navigator.pop(context); 21 | }, 22 | ), 23 | body: Container( 24 | 25 | ), 26 | ); 27 | } 28 | } 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/login/login_page.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2024/12/25 3 | library; 4 | import 'package:flutter/material.dart'; 5 | 6 | import '../../../core/widgets/custom_appBar_widget.dart'; 7 | class LoginPage extends StatelessWidget { 8 | const LoginPage({super.key}); 9 | 10 | @override 11 | Widget build(BuildContext context) { 12 | return Scaffold( 13 | appBar: CustomAppBar( 14 | title: '登陆', 15 | actions: const [ 16 | ], 17 | onBackPressed: () { 18 | // Handle back button press, if needed 19 | Navigator.pop(context); 20 | }, 21 | ), 22 | body: Container( 23 | 24 | ), 25 | ); 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/test/date_page.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2024/12/5 3 | library; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter_module/core/utils/date_untils.dart'; 6 | import '../../../core/widgets/custom_appBar_widget.dart'; 7 | 8 | 9 | 10 | class DatePage extends StatelessWidget { 11 | 12 | void printDate() { 13 | int timeStamp = MyDateTimeUtil.getTimeStamp(); 14 | print("打印当前时间戳:$timeStamp"); 15 | 16 | String currentTime = MyDateTimeUtil.getCurrentTime(); 17 | print("打印当前时间戳字符串:$currentTime"); 18 | 19 | 20 | int timeStamp1 = MyDateTimeUtil.timeToTimeStamp("2024-12-05 11:43:00"); 21 | print(" 将某个格式时间转化成时间戳:$timeStamp1"); 22 | 23 | } 24 | 25 | 26 | 27 | 28 | const DatePage({super.key}); 29 | @override 30 | Widget build(BuildContext context) { 31 | 32 | printDate(); 33 | 34 | 35 | return Scaffold( 36 | appBar: CustomAppBar( 37 | title: '日期', 38 | onBackPressed: () { 39 | // Handle back button press, if needed 40 | Navigator.pop(context); 41 | }, 42 | ), 43 | body: Container( 44 | 45 | ), 46 | ); 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/test/model/login_model.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/10 3 | library; 4 | import 'package:json_annotation/json_annotation.dart'; 5 | 6 | part 'login_model.g.dart'; 7 | 8 | 9 | @JsonSerializable() 10 | class LoginModel extends Object { 11 | 12 | @JsonKey(name: 'userId') 13 | int userId; 14 | 15 | @JsonKey(name: 'mobile') 16 | String mobile; 17 | 18 | @JsonKey(name: 'token') 19 | String token; 20 | 21 | @JsonKey(name: 'userName') 22 | String userName; 23 | 24 | LoginModel(this.userId,this.mobile,this.token,this.userName,); 25 | 26 | factory LoginModel.fromJson(Map srcJson) => _$LoginModelFromJson(srcJson); 27 | 28 | Map toJson() => _$LoginModelToJson(this); 29 | 30 | } 31 | 32 | 33 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/test/model/login_model.g.dart: -------------------------------------------------------------------------------- 1 | // GENERATED CODE - DO NOT MODIFY BY HAND 2 | 3 | part of 'login_model.dart'; 4 | 5 | // ************************************************************************** 6 | // JsonSerializableGenerator 7 | // ************************************************************************** 8 | 9 | LoginModel _$LoginModelFromJson(Map json) => LoginModel( 10 | (json['userId'] as num).toInt(), 11 | json['mobile'] as String, 12 | json['token'] as String, 13 | json['userName'] as String, 14 | ); 15 | 16 | Map _$LoginModelToJson(LoginModel instance) => 17 | { 18 | 'userId': instance.userId, 19 | 'mobile': instance.mobile, 20 | 'token': instance.token, 21 | 'userName': instance.userName, 22 | }; 23 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/test/model/userinfo_model.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/10 3 | library; 4 | import 'package:json_annotation/json_annotation.dart'; 5 | part 'userinfo_model.g.dart'; 6 | 7 | 8 | @JsonSerializable() 9 | class UserInfoModel extends Object { 10 | 11 | @JsonKey(name: 'id') 12 | int id; 13 | 14 | @JsonKey(name: 'localTime') 15 | String localTime; 16 | 17 | @JsonKey(name: 'name') 18 | String name; 19 | 20 | @JsonKey(name: 'age') 21 | int age; 22 | 23 | UserInfoModel(this.id,this.localTime,this.name,this.age,); 24 | 25 | factory UserInfoModel.fromJson(Map srcJson) => _$UserInfoModelFromJson(srcJson); 26 | 27 | Map toJson() => _$UserInfoModelToJson(this); 28 | 29 | } 30 | 31 | 32 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/test/model/userinfo_model.g.dart: -------------------------------------------------------------------------------- 1 | // GENERATED CODE - DO NOT MODIFY BY HAND 2 | 3 | part of 'userinfo_model.dart'; 4 | 5 | // ************************************************************************** 6 | // JsonSerializableGenerator 7 | // ************************************************************************** 8 | 9 | UserInfoModel _$UserInfoModelFromJson(Map json) => 10 | UserInfoModel( 11 | (json['id'] as num).toInt(), 12 | json['localTime'] as String, 13 | json['name'] as String, 14 | (json['age'] as num).toInt(), 15 | ); 16 | 17 | Map _$UserInfoModelToJson(UserInfoModel instance) => 18 | { 19 | 'id': instance.id, 20 | 'localTime': instance.localTime, 21 | 'name': instance.name, 22 | 'age': instance.age, 23 | }; 24 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/test/test3_touter_page.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2024/12/31 3 | library; 4 | import 'package:flutter/material.dart'; 5 | 6 | import '../../../core/widgets/custom_appBar_widget.dart'; 7 | 8 | class Test3TouterPagePage extends StatelessWidget { 9 | const Test3TouterPagePage({super.key}); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return Scaffold( 14 | appBar: CustomAppBar( 15 | title: '测试3', 16 | actions: const [ 17 | ], 18 | onBackPressed: () { 19 | // Handle back button press, if needed 20 | Navigator.pop(context); 21 | }, 22 | ), 23 | body: Container( 24 | 25 | ), 26 | ); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /flutter_module/lib/app/pages/test/test4_router_page.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/1/6 3 | library; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter_module/core/log/log.dart'; 6 | import 'package:flutter_module/core/router/my_router.dart'; 7 | 8 | import '../../../core/widgets/custom_appBar_widget.dart'; 9 | import '../../global/pageRouter/router_path.dart'; 10 | 11 | class Test4RouterPage extends StatelessWidget { 12 | const Test4RouterPage({super.key}); 13 | 14 | @override 15 | Widget build(BuildContext context) { 16 | return Scaffold( 17 | appBar: CustomAppBar( 18 | title: '测试4', 19 | actions: const [ 20 | ], 21 | onBackPressed: () { 22 | // Handle back button press, if needed 23 | // MyRouter.backToRoot(context: context); 24 | final list = MyRouter.getAllRoutes(); 25 | Log.debug("-------list:$list"); 26 | 27 | MyRouter.popUntil(context: context, routerURL: PagesURL.ToastUtilURL); 28 | }, 29 | ), 30 | body: Container( 31 | 32 | ), 33 | ); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /flutter_module/lib/core/flutter_boost_wrapper/core/route_mapper.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_boost/flutter_boost.dart'; 2 | 3 | 4 | /// 智能路由映射器 5 | /// 职责: 6 | /// 1. 路由表管理 7 | /// 2. 动态路由注册 8 | /// 3. 参数类型校验 9 | 10 | 11 | class RouteMapper { 12 | static final RouteMapper _instance = RouteMapper._(); 13 | final Map _routeTable = {}; 14 | 15 | RouteMapper._(); 16 | 17 | static RouteMapper get instance => _instance; 18 | 19 | void registerRoute(String routeName, FlutterBoostRouteFactory routeFactory) { 20 | _routeTable[routeName] = routeFactory; 21 | } 22 | 23 | FlutterBoostRouteFactory? getRouteFactory(String routeName) { 24 | return _routeTable[routeName]; 25 | } 26 | 27 | bool validateParams(String routeName, dynamic params) { 28 | // 实现参数类型校验逻辑 29 | return true; 30 | } 31 | } -------------------------------------------------------------------------------- /flutter_module/lib/core/flutter_boost_wrapper/custom_flutter_binding.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/4/14 3 | library; 4 | import 'package:flutter/cupertino.dart'; 5 | import 'package:flutter/material.dart'; 6 | import 'package:flutter_boost/flutter_boost.dart'; 7 | 8 | /// 创建一个自定义的Binding,继承和with的关系如下,添加一些初始化逻辑 9 | class CustomFlutterBinding extends WidgetsFlutterBinding with BoostFlutterBinding { 10 | 11 | } -------------------------------------------------------------------------------- /flutter_module/lib/core/flutter_boost_wrapper/exception/boost_error_handler.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/4/15 3 | library; 4 | 5 | import 'package:flutter_module/core/log/log.dart'; 6 | 7 | /// 统一异常处理中枢 8 | class BoostErrorHandler { 9 | static void handleRouteError( 10 | String path, 11 | dynamic params, 12 | dynamic error, 13 | StackTrace stack, 14 | ) { 15 | Log.error('RouteError: $path', error, stack); 16 | } 17 | 18 | static void handleBridgeError( 19 | String method, 20 | dynamic params, 21 | dynamic error, 22 | StackTrace stack, 23 | ) { 24 | Log.error('BridgeError: $method', error, stack); 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /flutter_module/lib/core/flutter_boost_wrapper/navigator/route_interceptor.dart: -------------------------------------------------------------------------------- 1 | 2 | import 'dart:async'; 3 | 4 | typedef RouteInterceptorHandler = Future Function(String routeName, dynamic params); 5 | 6 | class RouteInterceptorManager { 7 | static final RouteInterceptorManager _instance = RouteInterceptorManager._(); 8 | final List<(int priority, RouteInterceptorHandler handler)> _interceptors = []; 9 | 10 | RouteInterceptorManager._(); 11 | 12 | static RouteInterceptorManager get instance => _instance; 13 | 14 | void addInterceptor(int priority, RouteInterceptorHandler handler) { 15 | _interceptors.add((priority, handler)); 16 | _interceptors.sort((a, b) => a.$1.compareTo(b.$1)); 17 | } 18 | 19 | Future intercept(String routeName, dynamic params) async { 20 | for (final (_, handler) in _interceptors) { 21 | final shouldContinue = await handler(routeName, params); 22 | if (!shouldContinue) { 23 | return false; 24 | } 25 | } 26 | return true; 27 | } 28 | } -------------------------------------------------------------------------------- /flutter_module/lib/core/flutter_boost_wrapper/params/boost_params.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/4/15 3 | library; 4 | import 'dart:convert'; 5 | 6 | 7 | class BoostParams { 8 | static dynamic serialize(dynamic data) { 9 | // 支持复杂类型序列化 10 | return json.encode(data); 11 | } 12 | 13 | static dynamic deserialize(String data) { 14 | // 自动类型推断与转换 15 | return json.decode(data); 16 | } 17 | 18 | static bool hasCircularReference(dynamic data) { 19 | // 循环引用检测 20 | return false; 21 | } 22 | 23 | static dynamic safeParse(String data) { 24 | // 安全解析防护 25 | try { 26 | return json.decode(data); 27 | } catch (e) { 28 | return null; 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /flutter_module/lib/core/flutter_boost_wrapper/params/global_context.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/4/15 3 | library; 4 | import 'package:flutter/widgets.dart'; 5 | 6 | 7 | class GlobalContext { 8 | static BuildContext? _context; 9 | 10 | static set context(BuildContext context) { 11 | _context = context; 12 | } 13 | 14 | static BuildContext? get buildContext => _context; 15 | } 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /flutter_module/lib/core/http/interceptors/data_transform_Interceptor.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/1/22 3 | library; 4 | import 'package:dio/dio.dart'; 5 | import 'dart:convert'; 6 | 7 | 8 | /* 9 | 数据转换拦截器 10 | * 将请求或响应的数据在发送或接收时进行转换,例如将 JSON 数据转换为自定义的数据模型,或者对数据进行加密 / 解密。 11 | 可以确保数据的格式和安全性符合应用的要求。 12 | * */ 13 | class DataTransformInterceptor extends Interceptor { 14 | @override 15 | void onRequest(RequestOptions options, RequestInterceptorHandler handler) { 16 | if (options.data != null && options.data is Map) { 17 | options.data = jsonEncode(options.data); 18 | } 19 | handler.next(options); 20 | } 21 | 22 | @override 23 | void onResponse(Response response, ResponseInterceptorHandler handler) { 24 | if (response.data is String) { 25 | response.data = jsonDecode(response.data); 26 | } 27 | handler.next(response); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /flutter_module/lib/core/http/interceptors/loading_interceptor.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/1/23 3 | library; 4 | import 'package:dio/dio.dart'; 5 | import '../../toast/toast_util.dart'; 6 | 7 | class LoadingInterceptor extends Interceptor { 8 | /// 是否显示loading 9 | final bool isShowLoading; 10 | LoadingInterceptor({required this.isShowLoading}); 11 | 12 | @override 13 | void onRequest(RequestOptions options, RequestInterceptorHandler handler) { 14 | // 在请求发起时显示加载提示 15 | if (isShowLoading) { 16 | _showLoading(); 17 | } 18 | super.onRequest(options, handler); 19 | } 20 | 21 | @override 22 | void onError(DioException err, ErrorInterceptorHandler handler) { 23 | // 在请求出错时隐藏加载提示 24 | if (isShowLoading) { 25 | _hideLoading(); 26 | } 27 | super.onError(err, handler); 28 | } 29 | 30 | @override 31 | void onResponse(Response response, ResponseInterceptorHandler handler) { 32 | // 在请求成功响应后隐藏加载提示 33 | if (isShowLoading) { 34 | _hideLoading(); 35 | } 36 | 37 | super.onResponse(response, handler); 38 | } 39 | 40 | /// 弹窗 41 | void _showLoading() { 42 | ToastUtil.showLoading(); 43 | } 44 | 45 | /// 隐藏弹窗 46 | void _hideLoading() { 47 | ToastUtil.dismiss(); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /flutter_module/lib/core/http/model/my_base_list_model.dart: -------------------------------------------------------------------------------- 1 | import 'package:json_annotation/json_annotation.dart'; 2 | 3 | import '../../jsonConverter/safe_num_converter.dart'; 4 | part 'my_base_list_model.g.dart'; 5 | 6 | @JsonSerializable(genericArgumentFactories: true, converters: [SafeNumConverter()]) 7 | class MyBaseListModel { 8 | @JsonKey(name: 'code') 9 | num? code; 10 | @JsonKey(name: 'message') 11 | String? message; 12 | 13 | List? data; 14 | 15 | MyBaseListModel({ 16 | this.code, 17 | this.message, 18 | this.data, 19 | }); 20 | 21 | factory MyBaseListModel.fromJson( 22 | Map json, 23 | T Function(Object? json) fromJsonT, 24 | ) => 25 | _$MyBaseListModelFromJson(json, fromJsonT); 26 | 27 | Map toJson(Object Function(T value) toJsonT) => 28 | _$MyBaseListModelToJson(this, toJsonT); 29 | 30 | /// 是否成功 31 | bool isSucess() { 32 | bool result = this.code == 0; 33 | return result; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /flutter_module/lib/core/http/model/my_base_list_model.g.dart: -------------------------------------------------------------------------------- 1 | // GENERATED CODE - DO NOT MODIFY BY HAND 2 | 3 | part of 'my_base_list_model.dart'; 4 | 5 | // ************************************************************************** 6 | // JsonSerializableGenerator 7 | // ************************************************************************** 8 | 9 | MyBaseListModel _$MyBaseListModelFromJson( 10 | Map json, 11 | T Function(Object? json) fromJsonT, 12 | ) => 13 | MyBaseListModel( 14 | code: const SafeNumConverter().fromJson(json['code']), 15 | message: json['message'] as String?, 16 | data: (json['data'] as List?)?.map(fromJsonT).toList(), 17 | ); 18 | 19 | Map _$MyBaseListModelToJson( 20 | MyBaseListModel instance, 21 | Object? Function(T value) toJsonT, 22 | ) => 23 | { 24 | 'code': _$JsonConverterToJson( 25 | instance.code, const SafeNumConverter().toJson), 26 | 'message': instance.message, 27 | 'data': instance.data?.map(toJsonT).toList(), 28 | }; 29 | 30 | Json? _$JsonConverterToJson( 31 | Value? value, 32 | Json? Function(Value value) toJson, 33 | ) => 34 | value == null ? null : toJson(value); 35 | -------------------------------------------------------------------------------- /flutter_module/lib/core/http/model/my_base_model.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter_module/core/jsonConverter/safe_convert_model.dart'; 2 | import 'package:flutter_module/core/jsonConverter/safe_num_converter.dart'; 3 | import 'package:json_annotation/json_annotation.dart'; 4 | part 'my_base_model.g.dart'; 5 | 6 | @JsonSerializable(genericArgumentFactories: true, converters: [SafeNumConverter()]) 7 | class MyBaseModel extends SafeConvertModel { 8 | @JsonKey(name: 'code') 9 | num? code; 10 | @JsonKey(name: 'message') 11 | String? message; 12 | T? data; 13 | 14 | MyBaseModel({ 15 | this.code, 16 | this.message, 17 | this.data, 18 | }); 19 | 20 | factory MyBaseModel.fromJson( 21 | Map json, 22 | T Function(Object? json) fromJsonT, 23 | ) => 24 | _$MyBaseModelFromJson(json, fromJsonT); 25 | 26 | Map toJson(Object Function(T value) toJsonT) => 27 | _$MyBaseModelToJson(this, toJsonT); 28 | 29 | /// 是否成功 30 | bool isSucess() { 31 | bool result = this.code?.toInt() == 0; 32 | return result; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /flutter_module/lib/core/http/model/my_response_model.dart: -------------------------------------------------------------------------------- 1 | import 'dart:convert'; 2 | import '../core/my_request_options.dart'; 3 | 4 | /// FileName my_response.dart 5 | /// 6 | /// @Author jiangjunhui 7 | /// @Date 2023/6/8 14:01 8 | /// 9 | /// @Description TODO 10 | 11 | class MyResopnseModel { 12 | /// 响应对应的请求配置。 13 | MyRequestOptions requestOptions; 14 | 15 | /// 响应的 HTTP 状态码。 16 | int? statusCode; 17 | 18 | /// 响应对应状态码的详情信息。 19 | String? statusMessage; 20 | 21 | /// 响应头 22 | Map? responseHeaders; 23 | 24 | /// 原始数据值 25 | T? data; 26 | 27 | 28 | MyResopnseModel( 29 | {required this.requestOptions,required this.data, this.statusCode, this.responseHeaders, this.statusMessage}); 30 | 31 | 32 | String getDataString() { 33 | if (data is Map) { 34 | // Log encoded maps for better readability. 35 | return json.encode(data); 36 | } 37 | return data.toString(); 38 | } 39 | /// 是否成功 40 | bool isHttpSucess() { 41 | bool result = this.statusCode == 200; 42 | return result; 43 | } 44 | 45 | 46 | } 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | -------------------------------------------------------------------------------- /flutter_module/lib/core/jsonConverter/json_type_adapter.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/18 3 | library; 4 | 5 | class JsonTypeAdapter { 6 | // 安全转换数字(处理int/double/字符串数字混合场景) 7 | static num? safeParseNumber(dynamic value) { 8 | if (value is num) return value; 9 | if (value is String) { 10 | return num.tryParse(value); 11 | } 12 | return null; 13 | } 14 | 15 | // 安全日期解析(支持多种日期格式) 16 | static DateTime? safeParseDate(dynamic value) { 17 | if (value is DateTime) return value; 18 | if (value is String) return DateTime.tryParse(value); 19 | if (value is int) return DateTime.fromMillisecondsSinceEpoch(value); 20 | return null; 21 | } 22 | 23 | // 布尔类型安全转换 24 | static bool safeParseBool(dynamic value) { 25 | if (value is bool) return value; 26 | if (value is int) return value != 0; 27 | if (value is String) { 28 | return value.toLowerCase() == 'true'; 29 | } 30 | return false; 31 | } 32 | } 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /flutter_module/lib/core/jsonConverter/safe_dateTime_converter.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/17 3 | library; 4 | import 'package:json_annotation/json_annotation.dart'; 5 | 6 | class SafeDateTimeConverter implements JsonConverter { 7 | const SafeDateTimeConverter(); 8 | 9 | @override 10 | DateTime? fromJson(dynamic json) { 11 | if (json is DateTime) return json; 12 | if (json is String) return DateTime.tryParse(json); 13 | if (json is int) return DateTime.fromMillisecondsSinceEpoch(json); 14 | return null; 15 | } 16 | 17 | @override 18 | dynamic toJson(DateTime? date) => date?.toIso8601String(); 19 | } 20 | -------------------------------------------------------------------------------- /flutter_module/lib/core/jsonConverter/safe_list_converter.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/18 3 | library; 4 | import 'dart:convert'; 5 | import 'package:json_annotation/json_annotation.dart'; 6 | 7 | class SafeListConverter extends JsonConverter, dynamic> { 8 | const SafeListConverter(); 9 | 10 | @override 11 | List fromJson(dynamic json) { 12 | if (json is List) { 13 | return json; 14 | } 15 | try { 16 | if (json is String) { 17 | final decoded = jsonDecode(json); 18 | if (decoded is List) { 19 | return decoded; 20 | } 21 | } 22 | } catch (e) { 23 | // 捕获解析过程中可能出现的异常 24 | } 25 | return []; 26 | } 27 | 28 | @override 29 | dynamic toJson(List object) { 30 | return object; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /flutter_module/lib/core/jsonConverter/safe_map_converter.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/18 3 | library; 4 | import 'dart:convert'; 5 | import 'package:json_annotation/json_annotation.dart'; 6 | 7 | class SafeMapConverter extends JsonConverter, dynamic> { 8 | const SafeMapConverter(); 9 | 10 | @override 11 | Map fromJson(dynamic json) { 12 | if (json is Map) { 13 | return json; 14 | } 15 | try { 16 | if (json is String) { 17 | final decoded = jsonDecode(json); 18 | if (decoded is Map) { 19 | return decoded; 20 | } 21 | } 22 | } catch (e) { 23 | // 处理解析异常 24 | } 25 | return {}; 26 | } 27 | 28 | @override 29 | dynamic toJson(Map object) { 30 | return object; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /flutter_module/lib/core/jsonConverter/safe_num_converter.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/17 3 | library; 4 | 5 | import 'package:json_annotation/json_annotation.dart'; 6 | 7 | class SafeNumConverter extends JsonConverter { 8 | final num defaultValue; 9 | 10 | const SafeNumConverter({this.defaultValue = -10086}); 11 | 12 | @override 13 | num fromJson(dynamic json) { 14 | if (json is num) { 15 | return json; 16 | } 17 | if (json is String) { 18 | try { 19 | return num.parse(json); 20 | } catch (e) { 21 | return defaultValue; 22 | } 23 | } 24 | return defaultValue; 25 | } 26 | 27 | @override 28 | dynamic toJson(num object) { 29 | return object; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /flutter_module/lib/core/router/route_aware_state.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/3/7 3 | library; 4 | 5 | import 'package:flutter/material.dart'; 6 | import 'package:flutter_module/core/router/router_observer.dart'; 7 | 8 | /// 自定义的 RouteAwareState 9 | abstract class RouteAwareState extends State 10 | with RouteAware { 11 | @override 12 | void didChangeDependencies() { 13 | super.didChangeDependencies(); 14 | final route = ModalRoute.of(context); 15 | if (route != null) { 16 | MyRouteObserver().subscribe(this, route); 17 | } 18 | } 19 | 20 | @override 21 | void dispose() { 22 | MyRouteObserver().unsubscribe(this); 23 | super.dispose(); 24 | } 25 | 26 | /// 处理页面可见性变化 27 | void didChangeVisibility(bool isVisible) { 28 | if (isVisible) { 29 | onPageVisible(); 30 | } else { 31 | onPageHidden(); 32 | } 33 | } 34 | 35 | /// 页面可见时调用 36 | void onPageVisible(); 37 | 38 | /// 页面隐藏时调用 39 | void onPageHidden(); 40 | } 41 | -------------------------------------------------------------------------------- /flutter_module/lib/core/router/router_url.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2024/12/25 3 | library; 4 | 5 | /// 路由映射url 6 | class RouterURL { 7 | /// 名称 8 | final String name; 9 | /// 路径 10 | final String path; 11 | 12 | const RouterURL({required this.name, required this.path}); 13 | } 14 | -------------------------------------------------------------------------------- /flutter_module/lib/core/rxStream/rxStream.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/3/5 3 | library; 4 | 5 | import 'package:rxdart/rxdart.dart'; 6 | 7 | class RxStream { 8 | final BehaviorSubject _subject = BehaviorSubject(); 9 | 10 | Stream get stream => _subject.stream; 11 | 12 | // 添加数据 13 | void add(T value) => _subject.sink.add(value); 14 | 15 | // 链式操作符示例:防抖 + 过滤空值 16 | Stream debounceAndFilter(Duration duration) { 17 | return stream 18 | .debounceTime(duration) // 防抖 19 | .where((value) => value != null); // 过滤空值 20 | } 21 | 22 | // 合并多个流(例如:搜索输入 + 筛选条件) 23 | static Stream combineStreams( 24 | Stream streamA, 25 | Stream streamB, 26 | R Function(A, B) combiner, 27 | ) { 28 | return Rx.combineLatest2(streamA, streamB, combiner); 29 | } 30 | 31 | // 关闭资源 32 | void dispose() => _subject.close(); 33 | } 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /flutter_module/lib/core/screenutil/screen_adapter.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/8 3 | library; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter_screenutil/flutter_screenutil.dart'; 6 | 7 | class ScreenAdapter { 8 | // 初始化屏幕适配 9 | static void init(BuildContext context, {double width = 375, double height = 812}) { 10 | ScreenUtil.init( 11 | context, 12 | designSize: Size(width, height), 13 | ); 14 | } 15 | 16 | // 获取屏幕宽度 17 | static double get screenWidth => ScreenUtil().screenWidth; 18 | 19 | // 获取屏幕高度 20 | static double get screenHeight => ScreenUtil().screenHeight; 21 | 22 | // 获取状态栏高度 23 | static double get statusBarHeight => ScreenUtil().statusBarHeight; 24 | 25 | // 获取底部安全区高度 26 | static double get bottomBarHeight => ScreenUtil().bottomBarHeight; 27 | 28 | // 适配宽度 29 | static double setWidth(double width) { 30 | return width.w; 31 | } 32 | 33 | // 适配高度 34 | static double setHeight(double height) { 35 | return height.h; 36 | } 37 | 38 | // 适配字体大小 39 | static double setSp(double fontSize) { 40 | return fontSize.sp; 41 | } 42 | } 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /flutter_module/lib/core/screenutil/screen_extension.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/8 3 | library; 4 | 5 | import 'package:flutter_screenutil/flutter_screenutil.dart'; 6 | /* 7 | * px(像素)和 rpx(响应式像素)是在前端开发和移动端应用开发中用于度量尺寸的单位 8 | * px 是固定像素单位,它代表屏幕上的一个物理像素点 9 | * rpx 是一种相对的、响应式的长度单位,其设计目的是为了在不同尺寸的屏幕上实现元素的等比例缩放。 10 | * 规定在 750px 宽的屏幕上,1rpx = 1px。在不同宽度的屏幕上,rpx 会按照屏幕宽度的比例进行缩放 11 | * 。例如,在 375px 宽的屏幕上,750rpx 就等于 375px,此时 1rpx = 0.5px; 12 | * 在 1080px 宽的屏幕上,750rpx 等于 1080px,此时 1rpx = 1.44px。 13 | * 14 | * */ 15 | 16 | 17 | 18 | // 为 int 类型添加扩展 19 | extension IntScreenExtensions on int { 20 | /// 转换为适配后的像素值 21 | double get px => toDouble().w; 22 | 23 | /// 转换为适配后的响应式像素值(这里使用与 px 相同逻辑,可按需调整) 24 | double get rpx => toDouble().w; 25 | } 26 | 27 | // 为 double 类型添加扩展 28 | extension DoubleScreenExtensions on double { 29 | /// 转换为适配后的像素值 30 | double get px => w; 31 | 32 | /// 转换为适配后的响应式像素值(这里使用与 px 相同逻辑,可按需调整) 33 | double get rpx => w; 34 | } 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /flutter_module/lib/core/toast/toast_util.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/8 3 | library; 4 | import 'package:flutter/material.dart'; 5 | import 'package:flutter_easyloading/flutter_easyloading.dart'; 6 | 7 | class ToastUtil { 8 | /// 提示信息 9 | static void showToast( 10 | {required String msg, int duration = 2000, bool dismissOnTap = false}) { 11 | EasyLoading.showToast(msg, 12 | duration: Duration(milliseconds: duration), 13 | toastPosition: EasyLoadingToastPosition.center, 14 | dismissOnTap: dismissOnTap); 15 | } 16 | 17 | /// 加载框 18 | static void showLoading({String? msg, bool dismissOnTap = false}) { 19 | EasyLoading.instance 20 | ..indicatorType = EasyLoadingIndicatorType.ring 21 | ..loadingStyle = EasyLoadingStyle.dark 22 | ..radius = 5.0 23 | ..maskColor = Colors.white.withOpacity(0.1); 24 | 25 | EasyLoading.show( 26 | status: msg, 27 | maskType: EasyLoadingMaskType.custom, 28 | dismissOnTap: dismissOnTap); 29 | } 30 | 31 | /// 隐藏loading 32 | static void dismiss() { 33 | if (EasyLoading.isShow) { 34 | EasyLoading.dismiss(animation: true); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /flutter_module/lib/core/utils/debounce/debounce_util.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/20 3 | library; 4 | import 'dart:async'; 5 | 6 | 7 | typedef DebounceFunction = void Function(); 8 | /* 9 | 防抖在搜索框中的应用 10 | TextField( 11 | onChanged: debounceParam((value) { 12 | print('Searching for $value'); 13 | }, Duration(seconds: 1)), 14 | ); 15 | * */ 16 | DebounceFunction debounce( 17 | void Function() fn, [ 18 | Duration delay = const Duration(milliseconds: 500), 19 | ]) { 20 | Timer? timer; 21 | return () { 22 | timer?.cancel(); 23 | timer = Timer(delay, fn); 24 | }; 25 | } 26 | 27 | // 支持参数的泛型版本 28 | typedef DebounceFunctionWithParam = void Function(T arg); 29 | 30 | DebounceFunctionWithParam debounceParam( 31 | void Function(T) fn, [ 32 | Duration delay = const Duration(milliseconds: 500), 33 | ]) { 34 | Timer? timer; 35 | return (T arg) { 36 | timer?.cancel(); 37 | timer = Timer(delay, () => fn(arg)); 38 | }; 39 | } 40 | -------------------------------------------------------------------------------- /flutter_module/lib/core/utils/debounce/throttle_button.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/2/20 3 | library; 4 | import 'package:flutter/material.dart'; 5 | /* 6 | ThrottleButton( 7 | duration: Duration(seconds: 1), 8 | onPressed: () { 9 | print("节流后的按钮点击"); 10 | }, 11 | child: Text("提交"), 12 | ); 13 | * */ 14 | class ThrottleButton extends StatefulWidget { 15 | final VoidCallback onPressed; 16 | final Duration duration; 17 | final Widget child; 18 | 19 | const ThrottleButton({ 20 | super.key, 21 | required this.onPressed, 22 | this.duration = const Duration(seconds: 1), 23 | required this.child, 24 | }); 25 | 26 | @override 27 | _ThrottleButtonState createState() => _ThrottleButtonState(); 28 | } 29 | 30 | class _ThrottleButtonState extends State { 31 | DateTime? _lastPressed; 32 | 33 | @override 34 | Widget build(BuildContext context) { 35 | return ElevatedButton( 36 | onPressed: () { 37 | final now = DateTime.now(); 38 | if (_lastPressed == null || 39 | now.difference(_lastPressed!) >= widget.duration) { 40 | _lastPressed = now; 41 | widget.onPressed(); 42 | } 43 | }, 44 | child: widget.child, 45 | ); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /flutter_module/lib/core/utils/double_extension.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/1/24 3 | library; 4 | import 'dart:math'; 5 | 6 | 7 | extension DoubleExtension on double { 8 | /** 9 | * double num = 3.1415926; 10 | double result = num.toPrecision(2); 11 | print(result); // 输出: 3.14 12 | * */ 13 | /// 保留指定小数位数 14 | double toPrecision(int fractionDigits) { 15 | double mod = pow(10, fractionDigits).toDouble(); 16 | return ((this * mod).round().toDouble() / mod); 17 | } 18 | } 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /flutter_module/lib/core/utils/handle_error_utils.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2024/12/5 3 | library; 4 | import 'dart:async'; 5 | import 'package:flutter/widgets.dart'; 6 | 7 | import '../../app/global/constants/constant.dart'; 8 | 9 | 10 | /// 捕获全局异常,进行统一处理。 11 | void handleError(void Function() body) { 12 | /// 重写Flutter异常回调 FlutterError.onError 13 | FlutterError.onError = (FlutterErrorDetails details) { 14 | if (!Constant.inProduction) { 15 | // debug时,直接将异常信息打印。 16 | FlutterError.dumpErrorToConsole(details); 17 | } else { 18 | // release时,将异常交由zone统一处理。 19 | Zone.current.handleUncaughtError(details.exception, details.stack!); 20 | } 21 | }; 22 | 23 | /// 使用runZonedGuarded捕获Flutter未捕获的异常 24 | runZonedGuarded(body, (Object error, StackTrace stackTrace) async { 25 | await _reportError(error, stackTrace); 26 | }); 27 | } 28 | 29 | Future _reportError(Object error, StackTrace stackTrace) async { 30 | if (!Constant.inProduction) { 31 | debugPrintStack( 32 | stackTrace: stackTrace, 33 | label: error.toString(), 34 | maxFrames: 100, 35 | ); 36 | } else { 37 | /// 将异常信息收集并上传到服务器。可以直接使用类似`flutter_bugly`插件处理异常上报。 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /flutter_module/lib/core/utils/image_extension.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/1/24 3 | library; 4 | import 'package:flutter/material.dart'; 5 | 6 | extension ImageExtension on Image { 7 | /** 8 | * Image.asset('assets/images/sample.jpg', width: 200, height: 200) 9 | .rotate(45), // 使用旋转扩展方法,将图片旋转 45 度 10 | */ 11 | 12 | /// 根据指定的角度旋转图片 13 | Widget rotate(double degrees) { 14 | return Transform.rotate( 15 | angle: degrees * (3.1415926 / 180), 16 | child: this, 17 | ); 18 | } 19 | 20 | 21 | /// 图片灰度 22 | Widget toGrayscale() { 23 | return ColorFiltered( 24 | colorFilter: const ColorFilter.matrix([ 25 | 0.2126, 0.7152, 0.0722, 0, 0, 26 | 0.2126, 0.7152, 0.0722, 0, 0, 27 | 0.2126, 0.7152, 0.0722, 0, 0, 28 | 0, 0, 0, 1, 0, 29 | ]), 30 | child: this, 31 | ); 32 | } 33 | 34 | } 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /flutter_module/lib/core/utils/json_utils.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2024/12/5 3 | library; 4 | import 'dart:convert'; 5 | 6 | /// json 格式转化工具类 7 | class JsonUtils { 8 | // 将 Map 转换为 String 9 | static String mapToString(Map map) { 10 | return map.toString(); 11 | } 12 | 13 | // 将 String 转换为 Map 14 | static Map stringToMap(String str) { 15 | return str.isNotEmpty ? Map.from(json.decode(str)) : {}; 16 | } 17 | 18 | // 将 List 转换为 String 19 | static String listToString(List list) { 20 | return list.toString(); 21 | } 22 | 23 | // 将 String 转换为 List 24 | static List stringToList(String str) { 25 | return str.isNotEmpty ? List.from(json.decode(str)) : []; 26 | } 27 | 28 | // 将 Map 转换为 List 29 | static List mapToList(Map map) { 30 | return map.entries.map((entry) => entry.value).toList(); 31 | } 32 | 33 | // 将 List 转换为 Map 34 | static Map listToMap(List list) { 35 | Map result = {}; 36 | for (int i = 0; i < list.length; i++) { 37 | result['item_$i'] = list[i]; 38 | } 39 | return result; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /flutter_module/lib/core/utils/logger_utils.dart: -------------------------------------------------------------------------------- 1 | 2 | /// @author: jiangjunhui 3 | /// @date: 2024/12/30 4 | enum LogLevel { info, warn, error, debug } 5 | class Logger { 6 | static const Map _levelColors = { 7 | /* 8 | 32 Green 9 | 33 Yellow 10 | 31 Red 11 | 34 Blue 12 | 36 青色 13 | */ 14 | LogLevel.info: '\x1B[33m', // 青色 15 | LogLevel.warn: '\x1B[35m', // 紫色 16 | LogLevel.error: '\x1B[31m', // Red 17 | LogLevel.debug: '\x1B[34m', // Blue 18 | }; 19 | 20 | static const String _resetColor = '\x1B[0m'; 21 | 22 | 23 | 24 | } 25 | -------------------------------------------------------------------------------- /flutter_module/lib/core/utils/utils.dart: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/flutter_module/lib/core/utils/utils.dart -------------------------------------------------------------------------------- /flutter_module/lib/core/utils/widget_extension.dart: -------------------------------------------------------------------------------- 1 | /// @author: jiangjunhui 2 | /// @date: 2025/1/24 3 | library; 4 | import 'package:flutter/material.dart'; 5 | 6 | extension WidgetExtension on Widget { 7 | /// 切圆角 8 | Widget withRoundedCorners(double radius) { 9 | return ClipRRect( 10 | borderRadius: BorderRadius.circular(radius), 11 | child: this, 12 | ); 13 | } 14 | 15 | /// 点击事件 16 | Widget onTap(void Function()? onTap) { 17 | return GestureDetector( 18 | onTap: onTap, 19 | child: this, 20 | ); 21 | } 22 | 23 | /** 24 | * Text('Press and hold me').onLongPress(() { 25 | print('Long pressed!'); 26 | }); 27 | * */ 28 | /// 长按事件 29 | Widget onLongPress(void Function()? onLongPress) { 30 | return GestureDetector( 31 | onLongPress: onLongPress, 32 | child: this, 33 | ); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /flutter_module/lib/core/widgets/Unknown_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class UnknownPage extends StatelessWidget { 4 | const UnknownPage({super.key}); 5 | 6 | @override 7 | Widget build(BuildContext context) { 8 | return Scaffold( 9 | appBar: AppBar( 10 | title: const Text('错误路由'), 11 | ), 12 | body: Container( 13 | child: const Text( 14 | '错误路由处理', 15 | style: TextStyle(fontSize: 30, color: Colors.red), 16 | ), 17 | ), 18 | ); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /flutter_module/lib/core/widgets/custom_appBar_widget.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | class CustomAppBar extends StatelessWidget implements PreferredSizeWidget { 4 | final String title; 5 | final List actions; 6 | final VoidCallback? onBackPressed; 7 | 8 | const CustomAppBar({ 9 | required this.title, 10 | this.actions = const [], 11 | this.onBackPressed, 12 | super.key, 13 | }); 14 | 15 | @override 16 | Widget build(BuildContext context) { 17 | return AppBar( 18 | title: Text(title), 19 | leading: onBackPressed != null 20 | ? IconButton( 21 | icon: const Icon(Icons.arrow_back), 22 | onPressed: onBackPressed, 23 | tooltip: MaterialLocalizations.of(context).backButtonTooltip, 24 | ) 25 | : null, 26 | actions: actions, 27 | backgroundColor: Colors.white, 28 | surfaceTintColor: Colors.transparent,); 29 | } 30 | 31 | @override 32 | Size get preferredSize => const Size.fromHeight(kToolbarHeight); 33 | } 34 | -------------------------------------------------------------------------------- /flutter_module/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_module/main.dart'; 10 | import 'package:flutter_test/flutter_test.dart'; 11 | 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 | -------------------------------------------------------------------------------- /iosDemo/Pods/Local Podspecs/Flutter.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Flutter", 3 | "version": "1.0.0", 4 | "summary": "A UI toolkit for beautiful and fast apps.", 5 | "homepage": "https://flutter.dev", 6 | "license": { 7 | "type": "BSD" 8 | }, 9 | "authors": { 10 | "Flutter Dev Team": "flutter-dev@googlegroups.com" 11 | }, 12 | "source": { 13 | "git": "https://github.com/flutter/engine", 14 | "tag": "1.0.0" 15 | }, 16 | "platforms": { 17 | "ios": "12.0" 18 | }, 19 | "vendored_frameworks": "path/to/nothing" 20 | } 21 | -------------------------------------------------------------------------------- /iosDemo/Pods/Local Podspecs/FlutterPluginRegistrant.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "FlutterPluginRegistrant", 3 | "version": "0.0.1", 4 | "summary": "Registers plugins with your Flutter app", 5 | "description": "Depends on all your plugins, and provides a function to register them.", 6 | "homepage": "https://flutter.dev", 7 | "license": { 8 | "type": "BSD" 9 | }, 10 | "authors": { 11 | "Flutter Dev Team": "flutter-dev@googlegroups.com" 12 | }, 13 | "platforms": { 14 | "ios": "12.0" 15 | }, 16 | "source_files": [ 17 | "Classes", 18 | "Classes/**/*.{h,m}" 19 | ], 20 | "source": { 21 | "path": "." 22 | }, 23 | "public_header_files": "./Classes/**/*.h", 24 | "static_framework": true, 25 | "pod_target_xcconfig": { 26 | "DEFINES_MODULE": "YES" 27 | }, 28 | "dependencies": { 29 | "Flutter": [], 30 | "flutter_boost": [], 31 | "path_provider_foundation": [], 32 | "shared_preferences_foundation": [], 33 | "sqflite_darwin": [] 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /iosDemo/Pods/Local Podspecs/flutter_boost.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "flutter_boost", 3 | "version": "0.0.2", 4 | "summary": "A new Flutter plugin make flutter better to use!", 5 | "description": "A new Flutter plugin make flutter better to use!", 6 | "homepage": "http://example.com", 7 | "license": { 8 | "file": "../LICENSE" 9 | }, 10 | "authors": { 11 | "Alibaba Xianyu": "email@example.com" 12 | }, 13 | "source": { 14 | "path": "." 15 | }, 16 | "source_files": "Classes/**/*.{h,m,mm}", 17 | "public_header_files": [ 18 | "Classes/FlutterBoost.h", 19 | "Classes/FlutterBoostDelegate.h", 20 | "Classes/FlutterBoostPlugin.h", 21 | "Classes/container/FBFlutterViewContainer.h", 22 | "Classes/container/FBFlutterContainer.h", 23 | "Classes/Options.h", 24 | "Classes/messages.h" 25 | ], 26 | "dependencies": { 27 | "Flutter": [] 28 | }, 29 | "libraries": "c++", 30 | "pod_target_xcconfig": { 31 | "CLANG_CXX_LANGUAGE_STANDARD": "c++11", 32 | "CLANG_CXX_LIBRARY": "libc++" 33 | }, 34 | "platforms": { 35 | "ios": "8.0" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/Flutter/Flutter.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Flutter 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/Flutter 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/Flutter/Flutter.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Flutter 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/Flutter 9 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FlutterPluginRegistrant : NSObject 3 | @end 4 | @implementation PodsDummy_FlutterPluginRegistrant 5 | @end 6 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "GeneratedPluginRegistrant.h" 14 | 15 | FOUNDATION_EXPORT double FlutterPluginRegistrantVersionNumber; 16 | FOUNDATION_EXPORT const unsigned char FlutterPluginRegistrantVersionString[]; 17 | 18 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant 3 | DEFINES_MODULE = YES 4 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/flutter_boost" "${PODS_CONFIGURATION_BUILD_DIR}/path_provider_foundation" "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences_foundation" "${PODS_CONFIGURATION_BUILD_DIR}/sqflite_darwin" 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/Flutter/FlutterPluginRegistrant 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.modulemap: -------------------------------------------------------------------------------- 1 | framework module FlutterPluginRegistrant { 2 | umbrella header "FlutterPluginRegistrant-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/FlutterPluginRegistrant/FlutterPluginRegistrant.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FlutterPluginRegistrant 3 | DEFINES_MODULE = YES 4 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/flutter_boost" "${PODS_CONFIGURATION_BUILD_DIR}/path_provider_foundation" "${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences_foundation" "${PODS_CONFIGURATION_BUILD_DIR}/sqflite_darwin" 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/Flutter/FlutterPluginRegistrant 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/Pods-iosDemo/Pods-iosDemo-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/Pods-iosDemo/Pods-iosDemo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_iosDemo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_iosDemo 5 | @end 6 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/Pods-iosDemo/Pods-iosDemo-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_iosDemoVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_iosDemoVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/Pods-iosDemo/Pods-iosDemo.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_iosDemo { 2 | umbrella header "Pods-iosDemo-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/flutter_boost/flutter_boost-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.2 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/flutter_boost/flutter_boost-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_flutter_boost : NSObject 3 | @end 4 | @implementation PodsDummy_flutter_boost 5 | @end 6 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/flutter_boost/flutter_boost-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/flutter_boost/flutter_boost-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "FlutterBoost.h" 14 | #import "FlutterBoostDelegate.h" 15 | #import "FlutterBoostPlugin.h" 16 | #import "FBFlutterViewContainer.h" 17 | #import "FBFlutterContainer.h" 18 | #import "Options.h" 19 | #import "messages.h" 20 | 21 | FOUNDATION_EXPORT double flutter_boostVersionNumber; 22 | FOUNDATION_EXPORT const unsigned char flutter_boostVersionString[]; 23 | 24 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/flutter_boost/flutter_boost.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_CXX_LANGUAGE_STANDARD = c++11 2 | CLANG_CXX_LIBRARY = libc++ 3 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 4 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/flutter_boost 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | OTHER_LDFLAGS = $(inherited) -l"c++" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/.symlinks/plugins/flutter_boost/ios 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/flutter_boost/flutter_boost.modulemap: -------------------------------------------------------------------------------- 1 | framework module flutter_boost { 2 | umbrella header "flutter_boost-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/flutter_boost/flutter_boost.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_CXX_LANGUAGE_STANDARD = c++11 2 | CLANG_CXX_LIBRARY = libc++ 3 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 4 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/flutter_boost 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | OTHER_LDFLAGS = $(inherited) -l"c++" 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/.symlinks/plugins/flutter_boost/ios 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/path_provider_foundation/ResourceBundle-path_provider_foundation_privacy-path_provider_foundation-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.0.1 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/path_provider_foundation/path_provider_foundation-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/path_provider_foundation/path_provider_foundation-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_path_provider_foundation : NSObject 3 | @end 4 | @implementation PodsDummy_path_provider_foundation 5 | @end 6 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/path_provider_foundation/path_provider_foundation-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/path_provider_foundation/path_provider_foundation-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double path_provider_foundationVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char path_provider_foundationVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/path_provider_foundation/path_provider_foundation.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/path_provider_foundation 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/.symlinks/plugins/path_provider_foundation/darwin 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/path_provider_foundation/path_provider_foundation.modulemap: -------------------------------------------------------------------------------- 1 | framework module path_provider_foundation { 2 | umbrella header "path_provider_foundation-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/path_provider_foundation/path_provider_foundation.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/path_provider_foundation 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift 5 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/.symlinks/plugins/path_provider_foundation/darwin 12 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 13 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 14 | SKIP_INSTALL = YES 15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 16 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/shared_preferences_foundation/ResourceBundle-shared_preferences_foundation_privacy-shared_preferences_foundation-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.0.1 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.1 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_shared_preferences_foundation : NSObject 3 | @end 4 | @implementation PodsDummy_shared_preferences_foundation 5 | @end 6 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double shared_preferences_foundationVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char shared_preferences_foundationVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences_foundation 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift 6 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 11 | PODS_ROOT = ${SRCROOT} 12 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/.symlinks/plugins/shared_preferences_foundation/darwin 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 15 | SKIP_INSTALL = YES 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation.modulemap: -------------------------------------------------------------------------------- 1 | framework module shared_preferences_foundation { 2 | umbrella header "shared_preferences_foundation-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/shared_preferences_foundation/shared_preferences_foundation.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/shared_preferences_foundation 3 | DEFINES_MODULE = YES 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift 6 | LIBRARY_SEARCH_PATHS = $(inherited) "${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)/ $(SDKROOT)/usr/lib/swift 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 11 | PODS_ROOT = ${SRCROOT} 12 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/.symlinks/plugins/shared_preferences_foundation/darwin 13 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 14 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 15 | SKIP_INSTALL = YES 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/sqflite_darwin/ResourceBundle-sqflite_darwin_privacy-sqflite_darwin-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 0.0.4 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/sqflite_darwin/sqflite_darwin-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | ${PODS_DEVELOPMENT_LANGUAGE} 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.0.4 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/sqflite_darwin/sqflite_darwin-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_sqflite_darwin : NSObject 3 | @end 4 | @implementation PodsDummy_sqflite_darwin 5 | @end 6 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/sqflite_darwin/sqflite_darwin-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/sqflite_darwin/sqflite_darwin-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "SqfliteImportPublic.h" 14 | #import "SqflitePluginPublic.h" 15 | 16 | FOUNDATION_EXPORT double sqflite_darwinVersionNumber; 17 | FOUNDATION_EXPORT const unsigned char sqflite_darwinVersionString[]; 18 | 19 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/sqflite_darwin/sqflite_darwin.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/sqflite_darwin 3 | DEFINES_MODULE = YES 4 | EXCLUDED_ARCHS[sdk=iphonesimulator*] = i386 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/.symlinks/plugins/sqflite_darwin/darwin 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/sqflite_darwin/sqflite_darwin.modulemap: -------------------------------------------------------------------------------- 1 | framework module sqflite_darwin { 2 | umbrella header "sqflite_darwin-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /iosDemo/Pods/Target Support Files/sqflite_darwin/sqflite_darwin.release.xcconfig: -------------------------------------------------------------------------------- 1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/sqflite_darwin 3 | DEFINES_MODULE = YES 4 | EXCLUDED_ARCHS[sdk=iphonesimulator*] = i386 5 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_DEVELOPMENT_LANGUAGE = ${DEVELOPMENT_LANGUAGE} 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../flutter_module/.ios/.symlinks/plugins/sqflite_darwin/darwin 11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 15 | -------------------------------------------------------------------------------- /iosDemo/iosDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /iosDemo/iosDemo.xcodeproj/project.xcworkspace/xcuserdata/jiangjunhui.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/iosDemo/iosDemo.xcodeproj/project.xcworkspace/xcuserdata/jiangjunhui.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /iosDemo/iosDemo.xcodeproj/xcuserdata/jiangjunhui.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | iosDemo.xcscheme_^#shared#^_ 8 | 9 | orderHint 10 | 10 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /iosDemo/iosDemo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /iosDemo/iosDemo.xcworkspace/xcuserdata/jiangjunhui.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/iosDemo/iosDemo.xcworkspace/xcuserdata/jiangjunhui.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /iosDemo/iosDemo.xcworkspace/xcuserdata/jiangjunhui.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /iosDemo/iosDemo/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /iosDemo/iosDemo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "platform" : "ios", 6 | "size" : "1024x1024" 7 | }, 8 | { 9 | "appearances" : [ 10 | { 11 | "appearance" : "luminosity", 12 | "value" : "dark" 13 | } 14 | ], 15 | "idiom" : "universal", 16 | "platform" : "ios", 17 | "size" : "1024x1024" 18 | }, 19 | { 20 | "appearances" : [ 21 | { 22 | "appearance" : "luminosity", 23 | "value" : "tinted" 24 | } 25 | ], 26 | "idiom" : "universal", 27 | "platform" : "ios", 28 | "size" : "1024x1024" 29 | } 30 | ], 31 | "info" : { 32 | "author" : "xcode", 33 | "version" : 1 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /iosDemo/iosDemo/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /iosDemo/iosDemo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NSAppTransportSecurity 6 | 7 | NSAllowsArbitraryLoads 8 | 9 | 10 | UIApplicationSceneManifest 11 | 12 | UIApplicationSupportsMultipleScenes 13 | 14 | UISceneConfigurations 15 | 16 | UIWindowSceneSessionRoleApplication 17 | 18 | 19 | UISceneConfigurationName 20 | Default Configuration 21 | UISceneDelegateClassName 22 | $(PRODUCT_MODULE_NAME).SceneDelegate 23 | UISceneStoryboardFile 24 | Main 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /iosDemo/podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | platform:ios,'12.0' 3 | install! 'cocoapods', :deterministic_uuids => false, :disable_input_output_paths => true 4 | 5 | flutter_application_path = '../flutter_module' 6 | load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb') 7 | 8 | 9 | target 'iosDemo' do 10 | use_frameworks! 11 | 12 | install_all_flutter_pods(flutter_application_path) 13 | 14 | end 15 | 16 | 17 | post_install do |installer| 18 | flutter_post_install(installer) if defined?(flutter_post_install) 19 | end 20 | -------------------------------------------------------------------------------- /my_flutter_demo/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter 生成的文件和目录 2 | .dart_tool/ 3 | .packages 4 | .pub-cache/ 5 | .pub/ 6 | build/ 7 | flutter_*.png 8 | *.swp 9 | 10 | # 本地开发环境文件 11 | .env 12 | .env.local 13 | .env.*.local 14 | 15 | # IDE 配置文件 16 | .idea/ 17 | .vscode/ 18 | *.iml 19 | *.ipr 20 | *.iws 21 | 22 | # Android 相关 23 | /android/local.properties 24 | /android/key.properties 25 | /android/**/GeneratedPluginRegistrant.java 26 | 27 | # iOS 相关 28 | /ios/Flutter/Generated.xcconfig 29 | /ios/Flutter/flutter_export_environment.sh 30 | /ios/.generated/ 31 | /ios/Pods/ 32 | /ios/Runner/GeneratedPluginRegistrant.* 33 | 34 | # macOS 相关 35 | .macos/ 36 | 37 | # 操作系统生成的文件 38 | .DS_Store 39 | Thumbs.db 40 | 41 | # 日志文件 42 | *.log 43 | 44 | # 本地依赖目录(如手动添加的插件) 45 | .fvm/ 46 | 47 | # 测试覆盖率文件 48 | coverage/ 49 | 50 | # 缓存文件 51 | *.lock # 注意:pubspec.lock 应该提交,所以不要忽略它! -------------------------------------------------------------------------------- /my_flutter_demo/README.md: -------------------------------------------------------------------------------- 1 | # my_flutter_demo 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 | -------------------------------------------------------------------------------- /my_flutter_demo/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/to/reference-keystore 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/kotlin/com/example/my_flutter_demo/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.my_flutter_demo 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() 6 | -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 15 | 18 | 19 | -------------------------------------------------------------------------------- /my_flutter_demo/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /my_flutter_demo/android/build.gradle: -------------------------------------------------------------------------------- 1 | allprojects { 2 | repositories { 3 | google() 4 | mavenCentral() 5 | } 6 | } 7 | 8 | rootProject.buildDir = "../build" 9 | subprojects { 10 | project.buildDir = "${rootProject.buildDir}/${project.name}" 11 | } 12 | subprojects { 13 | project.evaluationDependsOn(":app") 14 | } 15 | 16 | tasks.register("clean", Delete) { 17 | delete rootProject.buildDir 18 | } 19 | -------------------------------------------------------------------------------- /my_flutter_demo/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /my_flutter_demo/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.6.3-all.zip 6 | -------------------------------------------------------------------------------- /my_flutter_demo/android/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | def flutterSdkPath = { 3 | def properties = new Properties() 4 | file("local.properties").withInputStream { properties.load(it) } 5 | def flutterSdkPath = properties.getProperty("flutter.sdk") 6 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 7 | return flutterSdkPath 8 | }() 9 | 10 | includeBuild("$flutterSdkPath/packages/flutter_tools/gradle") 11 | 12 | repositories { 13 | google() 14 | mavenCentral() 15 | gradlePluginPortal() 16 | } 17 | } 18 | 19 | plugins { 20 | id "dev.flutter.flutter-plugin-loader" version "1.0.0" 21 | id "com.android.application" version "7.3.0" apply false 22 | id "org.jetbrains.kotlin.android" version "1.7.10" apply false 23 | } 24 | 25 | include ":app" 26 | -------------------------------------------------------------------------------- /my_flutter_demo/devtools_options.yaml: -------------------------------------------------------------------------------- 1 | description: This file stores settings for Dart & Flutter DevTools. 2 | documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states 3 | extensions: 4 | -------------------------------------------------------------------------------- /my_flutter_demo/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 | -------------------------------------------------------------------------------- /my_flutter_demo/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 | 12.0 25 | 26 | 27 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | 4 | @main 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 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /my_flutter_demo/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 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /my_flutter_demo/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. -------------------------------------------------------------------------------- /my_flutter_demo/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /my_flutter_demo/ios/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /my_flutter_demo/lib/bloc_demo/bloc/counter/counter_bloc.dart: -------------------------------------------------------------------------------- 1 | import 'package:bloc/bloc.dart'; 2 | part 'counter_event.dart'; 3 | part 'counter_state.dart'; 4 | 5 | // 3. 创建Bloc - 计数器Bloc 6 | class CounterBloc extends Bloc { 7 | CounterBloc() : super(CounterState(0)) { 8 | on((event, emit) { 9 | switch (event) { 10 | case CounterEvent.increment: 11 | emit(CounterState(state.count + 1)); 12 | break; 13 | case CounterEvent.decrement: 14 | emit(CounterState(state.count - 1)); 15 | break; 16 | } 17 | }); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /my_flutter_demo/lib/bloc_demo/bloc/counter/counter_event.dart: -------------------------------------------------------------------------------- 1 | part of 'counter_bloc.dart'; 2 | // 1. 定义事件 - 计数器事件 3 | 4 | enum CounterEvent { increment, decrement } -------------------------------------------------------------------------------- /my_flutter_demo/lib/bloc_demo/bloc/counter/counter_state.dart: -------------------------------------------------------------------------------- 1 | part of 'counter_bloc.dart'; 2 | 3 | // 2. 定义状态 - 计数器状态 4 | class CounterState { 5 | final int count; 6 | CounterState(this.count); 7 | } -------------------------------------------------------------------------------- /my_flutter_demo/lib/main.dart: -------------------------------------------------------------------------------- 1 | import 'package:flutter/material.dart'; 2 | 3 | 4 | void main() { 5 | runApp(const MyApp()); 6 | } 7 | 8 | class MyApp extends StatelessWidget { 9 | const MyApp({Key? key}) : super(key: key); 10 | 11 | @override 12 | Widget build(BuildContext context) { 13 | return MaterialApp( 14 | title: 'Flutter Provider Demo', 15 | theme: ThemeData( 16 | primarySwatch: Colors.blue, 17 | ), 18 | home: const RootPage(), 19 | ); 20 | } 21 | } 22 | 23 | class RootPage extends StatelessWidget { 24 | const RootPage({Key? key}) : super(key: key); 25 | 26 | @override 27 | Widget build(BuildContext context) { 28 | return Scaffold( 29 | appBar: AppBar(title: const Text('Root Page')), 30 | body: Center( 31 | child: ElevatedButton( 32 | child: const Text('Go to Page 1'), 33 | onPressed: () { 34 | 35 | }, 36 | ), 37 | ), 38 | ); 39 | } 40 | } -------------------------------------------------------------------------------- /my_flutter_demo/lib/provider_demo/models/goods.dart: -------------------------------------------------------------------------------- 1 | /** 2 | * @author: jiangjunhui 3 | * @date: 2025/5/21 4 | */ 5 | import 'package:flutter/material.dart'; 6 | 7 | class Goods { 8 | final bool isCollection; 9 | final String goodsName; 10 | 11 | Goods(this.isCollection, this.goodsName); 12 | 13 | @override 14 | bool operator ==(Object other) => 15 | identical(this, other) || 16 | other is Goods && 17 | runtimeType == other.runtimeType && 18 | isCollection == other.isCollection && 19 | goodsName == other.goodsName; 20 | 21 | @override 22 | int get hashCode => isCollection.hashCode ^ goodsName.hashCode; 23 | } 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /my_flutter_demo/lib/provider_demo/viewmodels/auth_model.dart: -------------------------------------------------------------------------------- 1 | /** 2 | * @author: jiangjunhui 3 | * @date: 2025/5/21 4 | */ 5 | import 'package:flutter/material.dart'; 6 | import 'package:flutter/cupertino.dart'; 7 | // 定义需要共享的数据模型,通过混入 ChangeNotifier 管理听众 8 | class AuthModel with ChangeNotifier { 9 | int _count = 0; 10 | // 读方法 11 | int get count => _count; 12 | // 写方法 13 | void increment() { 14 | _count++; 15 | notifyListeners();// 通知听众刷新 16 | } 17 | } 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /my_flutter_demo/lib/provider_demo/viewmodels/counter_model.dart: -------------------------------------------------------------------------------- 1 | /** 2 | * @author: jiangjunhui 3 | * @date: 2025/5/21 4 | */ 5 | import 'package:flutter/material.dart'; 6 | import 'package:flutter/cupertino.dart'; 7 | // 定义需要共享的数据模型,通过混入 ChangeNotifier 管理听众 8 | class CounterModel with ChangeNotifier { 9 | int _count = 0; 10 | // 读方法 11 | int get count => _count; 12 | // 写方法 13 | void increment() { 14 | _count++; 15 | notifyListeners();// 通知听众刷新 16 | } 17 | } 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /my_flutter_demo/lib/provider_demo/viewmodels/goodsList_Provider_model.dart: -------------------------------------------------------------------------------- 1 | /** 2 | * @author: jiangjunhui 3 | * @date: 2025/5/21 4 | */ 5 | import 'package:flutter/material.dart'; 6 | import '../models/goods.dart'; 7 | class GoodsListModelProvider with ChangeNotifier { 8 | List _goodsList = 9 | List.generate(10, (index) => Goods(false, '商品 $index')); 10 | 11 | List get goodsList => [..._goodsList]; // 返回不可变列表 12 | int get total => _goodsList.length; 13 | 14 | void collect(int index) { 15 | _goodsList[index] = Goods( 16 | !_goodsList[index].isCollection, 17 | _goodsList[index].goodsName, 18 | ); 19 | notifyListeners(); 20 | } 21 | } 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /my_flutter_demo/linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /my_flutter_demo/linux/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | 10 | void fl_register_plugins(FlPluginRegistry* registry) { 11 | } 12 | -------------------------------------------------------------------------------- /my_flutter_demo/linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void fl_register_plugins(FlPluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /my_flutter_demo/linux/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | ) 7 | 8 | list(APPEND FLUTTER_FFI_PLUGIN_LIST 9 | ) 10 | 11 | set(PLUGIN_BUNDLED_LIBRARIES) 12 | 13 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 14 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) 15 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 16 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 17 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 18 | endforeach(plugin) 19 | 20 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) 21 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) 22 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) 23 | endforeach(ffi_plugin) 24 | -------------------------------------------------------------------------------- /my_flutter_demo/linux/main.cc: -------------------------------------------------------------------------------- 1 | #include "my_application.h" 2 | 3 | int main(int argc, char** argv) { 4 | g_autoptr(MyApplication) app = my_application_new(); 5 | return g_application_run(G_APPLICATION(app), argc, argv); 6 | } 7 | -------------------------------------------------------------------------------- /my_flutter_demo/linux/my_application.h: -------------------------------------------------------------------------------- 1 | #ifndef FLUTTER_MY_APPLICATION_H_ 2 | #define FLUTTER_MY_APPLICATION_H_ 3 | 4 | #include 5 | 6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 7 | GtkApplication) 8 | 9 | /** 10 | * my_application_new: 11 | * 12 | * Creates a new Flutter-based application. 13 | * 14 | * Returns: a new #MyApplication. 15 | */ 16 | MyApplication* my_application_new(); 17 | 18 | #endif // FLUTTER_MY_APPLICATION_H_ 19 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "ephemeral/Flutter-Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "ephemeral/Flutter-Generated.xcconfig" 2 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | 9 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 10 | } 11 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @main 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /my_flutter_demo/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 = my_flutter_demo 9 | 10 | // The application's bundle identifier 11 | PRODUCT_BUNDLE_IDENTIFIER = com.example.myFlutterDemo 12 | 13 | // The copyright displayed in application information 14 | PRODUCT_COPYRIGHT = Copyright © 2025 com.example. All rights reserved. 15 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /my_flutter_demo/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 | -------------------------------------------------------------------------------- /my_flutter_demo/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 | -------------------------------------------------------------------------------- /my_flutter_demo/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 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController() 7 | let windowFrame = frame 8 | contentViewController = flutterViewController 9 | setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /my_flutter_demo/macos/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /my_flutter_demo/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:my_flutter_demo/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 | -------------------------------------------------------------------------------- /my_flutter_demo/web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/web/favicon.png -------------------------------------------------------------------------------- /my_flutter_demo/web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/web/icons/Icon-192.png -------------------------------------------------------------------------------- /my_flutter_demo/web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/web/icons/Icon-512.png -------------------------------------------------------------------------------- /my_flutter_demo/web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /my_flutter_demo/web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /my_flutter_demo/web/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "my_flutter_demo", 3 | "short_name": "my_flutter_demo", 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 | -------------------------------------------------------------------------------- /my_flutter_demo/windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /my_flutter_demo/windows/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | 10 | void RegisterPlugins(flutter::PluginRegistry* registry) { 11 | } 12 | -------------------------------------------------------------------------------- /my_flutter_demo/windows/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /my_flutter_demo/windows/flutter/generated_plugins.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # Generated file, do not edit. 3 | # 4 | 5 | list(APPEND FLUTTER_PLUGIN_LIST 6 | ) 7 | 8 | list(APPEND FLUTTER_FFI_PLUGIN_LIST 9 | ) 10 | 11 | set(PLUGIN_BUNDLED_LIBRARIES) 12 | 13 | foreach(plugin ${FLUTTER_PLUGIN_LIST}) 14 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin}) 15 | target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) 16 | list(APPEND PLUGIN_BUNDLED_LIBRARIES $) 17 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) 18 | endforeach(plugin) 19 | 20 | foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) 21 | add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin}) 22 | list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) 23 | endforeach(ffi_plugin) 24 | -------------------------------------------------------------------------------- /my_flutter_demo/windows/runner/flutter_window.h: -------------------------------------------------------------------------------- 1 | #ifndef RUNNER_FLUTTER_WINDOW_H_ 2 | #define RUNNER_FLUTTER_WINDOW_H_ 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | 9 | #include "win32_window.h" 10 | 11 | // A window that does nothing but host a Flutter view. 12 | class FlutterWindow : public Win32Window { 13 | public: 14 | // Creates a new FlutterWindow hosting a Flutter view running |project|. 15 | explicit FlutterWindow(const flutter::DartProject& project); 16 | virtual ~FlutterWindow(); 17 | 18 | protected: 19 | // Win32Window: 20 | bool OnCreate() override; 21 | void OnDestroy() override; 22 | LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam, 23 | LPARAM const lparam) noexcept override; 24 | 25 | private: 26 | // The project to run. 27 | flutter::DartProject project_; 28 | 29 | // The Flutter instance hosted by this window. 30 | std::unique_ptr flutter_controller_; 31 | }; 32 | 33 | #endif // RUNNER_FLUTTER_WINDOW_H_ 34 | -------------------------------------------------------------------------------- /my_flutter_demo/windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /my_flutter_demo/windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SunshineBrother/flutter-tool/9036178d4809a28814c281b6ecaec5792572db86/my_flutter_demo/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /my_flutter_demo/windows/runner/runner.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PerMonitorV2 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /my_flutter_demo/windows/runner/utils.h: -------------------------------------------------------------------------------- 1 | #ifndef RUNNER_UTILS_H_ 2 | #define RUNNER_UTILS_H_ 3 | 4 | #include 5 | #include 6 | 7 | // Creates a console for the process, and redirects stdout and stderr to 8 | // it for both the runner and the Flutter library. 9 | void CreateAndAttachConsole(); 10 | 11 | // Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string 12 | // encoded in UTF-8. Returns an empty std::string on failure. 13 | std::string Utf8FromUtf16(const wchar_t* utf16_string); 14 | 15 | // Gets the command line arguments passed in as a std::vector, 16 | // encoded in UTF-8. Returns an empty std::vector on failure. 17 | std::vector GetCommandLineArguments(); 18 | 19 | #endif // RUNNER_UTILS_H_ 20 | --------------------------------------------------------------------------------