diff --git a/making_school_asignment_app/lib/page/home_page/children/homework_review/components/question_paper_view.dart b/making_school_asignment_app/lib/page/home_page/children/homework_review/components/question_paper_view.dart index 3b71baa..faa1daa 100644 --- a/making_school_asignment_app/lib/page/home_page/children/homework_review/components/question_paper_view.dart +++ b/making_school_asignment_app/lib/page/home_page/children/homework_review/components/question_paper_view.dart @@ -283,6 +283,7 @@ class QuestionImageView extends HookWidget with EventBusMixin> vnHandWritings) { timer?.cancel(); timer = Timer(const Duration(milliseconds: timeoutDuration), () { @@ -301,6 +302,8 @@ class QuestionImageView extends HookWidget with EventBusMixin -1) { @@ -461,16 +464,6 @@ class QuestionImageView extends HookWidget with EventBusMixin 2) { - // _activePointers = 0; - // if (vnHandWritings.value.last != null) { - // vnHandWritings.value.add(null); // 增加空点以分隔不同的线段 - // sateData.handwritings = vnHandWritings.value; // 添加笔迹数据 - // } - // } - // }); sateData.panQuestView = true; }, onPointerUp: (PointerUpEvent details) { diff --git a/making_school_asignment_app/macos/Flutter/GeneratedPluginRegistrant.swift b/making_school_asignment_app/macos/Flutter/GeneratedPluginRegistrant.swift index 043340e..ee64873 100644 --- a/making_school_asignment_app/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/making_school_asignment_app/macos/Flutter/GeneratedPluginRegistrant.swift @@ -5,6 +5,8 @@ import FlutterMacOS import Foundation +import app_installer +import app_settings import auto_updater_macos import connectivity_plus import device_info_plus @@ -14,6 +16,8 @@ import sqflite import url_launcher_macos func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { + AppInstallerPlugin.register(with: registry.registrar(forPlugin: "AppInstallerPlugin")) + AppSettingsPlugin.register(with: registry.registrar(forPlugin: "AppSettingsPlugin")) AutoUpdaterMacosPlugin.register(with: registry.registrar(forPlugin: "AutoUpdaterMacosPlugin")) ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin")) DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) diff --git a/making_school_asignment_app/pubspec.yaml b/making_school_asignment_app/pubspec.yaml index 03a7639..201db8a 100644 --- a/making_school_asignment_app/pubspec.yaml +++ b/making_school_asignment_app/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.5+6 +version: 1.0.3+4 environment: sdk: '>=3.4.1 <4.0.0'