diff --git a/ios/Podfile.lock b/ios/Podfile.lock index e1132683..0604e966 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -17,12 +17,14 @@ PODS: - emoji_picker_flutter (0.0.1): - Flutter - Flutter (1.0.0) + - flutter_pdfview (1.0.2): + - Flutter - fluwx (0.0.1): - Flutter - "OpenWeChatSDK (~> 1.9.2+1)" - geolocator (6.2.0): - Flutter - - image_gallery_saver (1.5.0): + - image_gallery_saver (2.0.2): - Flutter - image_pickers (0.0.1): - AFNetworking @@ -102,6 +104,7 @@ PODS: DEPENDENCIES: - emoji_picker_flutter (from `.symlinks/plugins/emoji_picker_flutter/ios`) - Flutter (from `Flutter`) + - flutter_pdfview (from `.symlinks/plugins/flutter_pdfview/ios`) - fluwx (from `.symlinks/plugins/fluwx/ios`) - geolocator (from `.symlinks/plugins/geolocator/ios`) - image_gallery_saver (from `.symlinks/plugins/image_gallery_saver/ios`) @@ -140,6 +143,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/emoji_picker_flutter/ios" Flutter: :path: Flutter + flutter_pdfview: + :path: ".symlinks/plugins/flutter_pdfview/ios" fluwx: :path: ".symlinks/plugins/fluwx/ios" geolocator: @@ -181,9 +186,10 @@ SPEC CHECKSUMS: AFNetworking: 3bd23d814e976cd148d7d44c3ab78017b744cd58 emoji_picker_flutter: df19dac03a2b39ac667dc8d1da939ef3a9e21347 Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 + flutter_pdfview: 25f53dd6097661e6395b17de506e6060585946bd fluwx: 79c66b6d795ab8208262ada215d9e60388cfe492 geolocator: f5e3de65e241caba7ce3e8a618803387bda73384 - image_gallery_saver: 259eab68fb271cfd57d599904f7acdc7832e7ef2 + image_gallery_saver: cb43cc43141711190510e92c460eb1655cd343cb image_pickers: 25c8916d358bc9d2707cb470ba3d57497f105773 mob_sharesdk: 0698d60b3c1549a5b0bcfdec6f407439dd2960c0 MOBFoundation: 6df2684b4db4f0f5bd71b0623f82e11271bf7ac8 @@ -203,7 +209,7 @@ SPEC CHECKSUMS: UMCommon: 47e0b53f6a36568e958a5abd005ed7577fcac9ad UMDevice: 9ef8045b59e0479cff7062915c879a1af46fa094 umeng_common_sdk: a8abd7f86dfd013dbbeeae587ee143760c6582f2 - url_launcher: 6fef411d543ceb26efce54b05a0a40bfd74cbbef + url_launcher: a1c0cc845906122c4784c542523d8cacbded5626 video_player_avfoundation: 6d971a232d72e6ee25368378d48a079dea01f1cf wakelock: d0fc7c864128eac40eba1617cb5264d9c940b46f webview_flutter: 5fb4def2bbd4339889ee14d045b605cefc5bc232 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 05a2171d..8441f8a3 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -602,7 +602,7 @@ CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 6; DEVELOPMENT_TEAM = YF3Q8DVP52; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -806,7 +806,7 @@ CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 6; DEVELOPMENT_TEAM = YF3Q8DVP52; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -896,7 +896,7 @@ CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CURRENT_PROJECT_VERSION = 5; + CURRENT_PROJECT_VERSION = 6; DEVELOPMENT_TEAM = YF3Q8DVP52; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( diff --git a/lib/order/invoices_manage/pdf_screen.dart b/lib/order/invoices_manage/pdf_screen.dart index 7e1079fa..c44eb8c4 100644 --- a/lib/order/invoices_manage/pdf_screen.dart +++ b/lib/order/invoices_manage/pdf_screen.dart @@ -17,7 +17,7 @@ class _PDFScreenState extends State with WidgetsBindingObserver { final Completer _controller = Completer(); int pages = 0; int currentPage = 0; - int pageTotal =0; + int pageTotal =1; bool isReady = false; String errorMessage = ''; @@ -31,7 +31,7 @@ class _PDFScreenState extends State with WidgetsBindingObserver { child: Container( height:250, decoration: BoxDecoration( - color: Colors.transparent, + color: Colors.white, ), child: PDFView( filePath: widget.path, diff --git a/pubspec.lock b/pubspec.lock index ba22c5dc..f4ceccb5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -465,50 +465,26 @@ packages: dependency: "direct main" description: name: geolocator - sha256: "5c496b46e245d006760e643cedde7c9fa785a34391b5eca857a46358f9bde02b" + sha256: "01fed879aa87185efebfb1d23de619077bcc7d83ffdebd0aad6f74392f84fb40" url: "https://pub.flutter-io.cn" source: hosted - version: "8.2.1" - geolocator_android: - dependency: transitive - description: - name: geolocator_android - sha256: "3fa9215caf1e4463adbdf1f21b07fdcb9bc2af2ef1df3715a52376b87bebb087" - url: "https://pub.flutter-io.cn" - source: hosted - version: "3.2.1" - geolocator_apple: - dependency: transitive - description: - name: geolocator_apple - sha256: bc2aca02423ad429cb0556121f56e60360a2b7d694c8570301d06ea0c00732fd - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.3.7" + version: "6.2.1" geolocator_platform_interface: dependency: transitive description: name: geolocator_platform_interface - sha256: b8cc1d3be0ca039a3f2174b0b026feab8af3610e220b8532e42cff8ec6658535 + sha256: aa11c4cb9eb31f096ffc62cf54858f869bd437de327cba660577ddd594a8f3fa url: "https://pub.flutter-io.cn" source: hosted - version: "4.1.0" + version: "1.0.9" geolocator_web: dependency: transitive description: name: geolocator_web - sha256: "102e7da05b48ca6bf0a5bda0010f886b171d1a08059f01bfe02addd0175ebece" - url: "https://pub.flutter-io.cn" - source: hosted - version: "2.2.1" - geolocator_windows: - dependency: transitive - description: - name: geolocator_windows - sha256: "4f4218f122a6978d0ad655fa3541eea74c67417440b09f0657238810d5af6bdc" + sha256: "9a7f3c5061fb8fb26103fc67e07343eebd4d3b15d18c6d75766e2a1a8b0618f8" url: "https://pub.flutter-io.cn" source: hosted - version: "0.1.3" + version: "1.0.1" gradient_widgets: dependency: "direct main" description: @@ -769,42 +745,18 @@ packages: dependency: "direct main" description: name: permission_handler - sha256: "5749ebeb7ec0c3865ea17e3eb337174b87747be816dab582c551e1aff6f6bbf3" + sha256: fb4666087528b1cbf91d98771cf50b14f36f4d8756ec7e7a8629dd3cb55442b7 url: "https://pub.flutter-io.cn" source: hosted - version: "9.2.0" - permission_handler_android: - dependency: transitive - description: - name: permission_handler_android - sha256: a512e0fa8abcb0659d938ec2df93a70eb1df1fdea5fdc6d79a866bfd858a28fc - url: "https://pub.flutter-io.cn" - source: hosted - version: "9.0.2+1" - permission_handler_apple: - dependency: transitive - description: - name: permission_handler_apple - sha256: "99e220bce3f8877c78e4ace901082fb29fa1b4ebde529ad0932d8d664b34f3f5" - url: "https://pub.flutter-io.cn" - source: hosted - version: "9.1.4" + version: "5.1.0+2" permission_handler_platform_interface: dependency: transitive description: name: permission_handler_platform_interface - sha256: "6760eb5ef34589224771010805bea6054ad28453906936f843a8cc4d3a55c4a4" + sha256: f7e3c798f7c4dd215e4ca8843695b3a63a5b79c9aa04f296d316f13a15d518ba url: "https://pub.flutter-io.cn" source: hosted - version: "3.12.0" - permission_handler_windows: - dependency: transitive - description: - name: permission_handler_windows - sha256: cc074aace208760f1eee6aa4fae766b45d947df85bc831cde77009cdb4720098 - url: "https://pub.flutter-io.cn" - source: hosted - version: "0.1.3" + version: "2.0.2" petitparser: dependency: transitive description: @@ -849,10 +801,10 @@ packages: dependency: transitive description: name: plugin_platform_interface - sha256: da3fdfeccc4d4ff2da8f8c556704c08f912542c5fb3cf2233ed75372384a034d + sha256: c3ebbff365bfb1b5f7b690c9857d2dabea167f35b05eb7586186499b407efb37 url: "https://pub.flutter-io.cn" source: hosted - version: "2.1.6" + version: "1.0.3" pointycastle: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 9085c17b..4d229169 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,7 +18,7 @@ dependencies: tobias: 2.4.1 #pdf展示 - flutter_pdfview: ^1.3.2 + flutter_pdfview: ^1.2.7 pdfx: ^2.0.1+2 @@ -43,9 +43,9 @@ dependencies: number_precision: ^2.0.2+1 - permission_handler: ^9.0.2 + permission_handler: ^5.0.1+1 - geolocator: ^8.2.1 + geolocator: ^6.2.1 # location: ^3.2.4 dio: ^3.0.10