Announcement

Collapse
No announcement yet.
X

I am getting red lines under my flutter code

Collapse
  • Time
  • Show
Clear All
new posts

  • I am getting red lines under my flutter code

    I am getting red lines under my flutter code but the code is perfectly functioning and there is no error

    I suggest you try in terminal running three commands

    flutter doctor
    flutter clean
    flutter pub get

    -----

  • #2
    While viewing the pubspec.yaml file in Android Studio’s editor view, click Pub get.
    This pulls the package into your project. You should see the following in the console:


    Code:
    flutter pub get
    Running "flutter pub get" in startup_namer...
    Process finished with exit code 0
    -----

    Comment

    Working...
    X