skip to Main Content

Hi how this problem solvedenter image description here

I added the widget "dropdown_formfield: ^0.1.4" to my project and it showed this error How can I fix this problem please help. This package : https://pub.dev/packages/dropdown_formfield

2

Answers


  1. You must update your flutter/dart version like this (in your pubspec.yaml):

    environment:
      sdk: ">=2.18.0"
    

    Be prepared to make changes on your project/code due null safety

    Or seek to find a lower version of that "dropdown_formfield" that can be supported by your actual flutter/dart version.

    Login or Signup to reply.
  2. write

    any keyword

    instead of ^0.1.4

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