Error occurring while using syncfution_flutter_pdfviewer-20.1.60-beta version enter image description here
CodePudding user response:
As error said you should change
WidgetsBinding?.instance.addPostFrameCallback
To
WidgetsBinding.instance?.addPostFrameCallback
CodePudding user response:
Kindly upgrade to the latest version of Flutter SDK to get the issue resolved. Flutter SDK setup link for the latest version: https://docs.flutter.dev/get-started/install/windows#get-the-flutter-sdk