Closed badshamasala closed 1 week 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.
@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.
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