skip to Main Content

I have successfully pub get the screenutill package from pub.dev but it is still giving error.enter image description here

I shared a problem related to flutter screen utill package and expect solution from developers.

2

Answers


  1. Try to scroll up in your terminal,sometimes errors in terminal not showing at bottom.

    Otherwise, follow these steps:

    1. Run command flutter clean
    2. Run command flutter pub upgrade
    3. Run command flutter pub get

    If errors happen comment so I can help you.

    Login or Signup to reply.
  2. First, make sure that all of your code’s brackets are closed properly. One missing or extra bracket can cause errors like the one you are experiencing.

    Once you’ve checked your code, if you are still experiencing issues with the screen_util package, you can try running "flutter clean" in your terminal to clear any cached data, and then run "flutter pub get" again to ensure that your dependencies are installed correctly.

    It’s also important to make sure that you are importing the package correctly and following its documentation to use it properly in your code.

    I hope this helps you solve your problem!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search