syncfusion / flutter-widgets

Syncfusion Flutter widgets libraries include high quality UI widgets and file-format packages to help you create rich, high-quality applications for iOS, Android, and web from a single code base.
1.55k stars 752 forks source link

Error (Xcode): ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-26.1.42/lib/src/form_fields/pdf_signature.dart:590:25: Error: Couldn't find constructor 'WidgetStatePropertyAll'. #1992

Closed badshamasala closed 1 week ago

badshamasala commented 1 month ago

Bug description

Error (Xcode): ../../.pub-cache/hosted/pub.dev/syncfusion_flutter_pdfviewer-26.1.42/lib/src/form_fields/pdf_signature.dart:590:25: Error: Couldn't find constructor 'WidgetStatePropertyAll'.

Steps to reproduce

error

Code sample

Code sample ```dart [Add your code here] ```

error

Screenshots or Video

Screenshots / Video demonstration [Upload media here]

Stack Traces

Stack Traces ```dart [Add the Stack Traces here] ```

On which target platforms have you observed this bug?

iOS

Flutter Doctor output

Doctor output ```console [Add your output here] ```

error

immankumarsync commented 1 month ago

@badshamasala, we have migrated our source to be compatible with Flutter SDK 3.22.0. In Flutter SDK version 3.22.0, MaterialState and its related APIs have been moved out of the Material library and renamed to WidgetState.

So, we kindly request that you upgrade the Flutter SDK version to 3.22.0, or else use the syncfusion_flutter_pdfviewer package version below 25.2.4.

We have also shared the breaking changes documentation below for your reference. Rename MaterialState to WidgetState | Flutter

We hope it will help you resolve the issue. If you have any further queries, please get back to us.

Deepak1799 commented 1 week ago

@badshamasala We believe that the issue has been resolved; hence, we are closing this. However, you can reopen this issue anytime if you need any further assistance on this.