enter image description here cupertino_icons: ^1.0.2
STATE MANAGEMENT
mobx: ^2.0.3 flutter_mobx: ^2.0.1 dev_dependencies: flutter_test: sdk: flutter mobx_codegen: ^2.0.2 build_runner: ^2.2.0
CodePudding user response:
try upgrade your package cmd "flutter pub upgrade"
CodePudding user response:
paste this code like this as you didn't added space
dev_dependencies:
flutter_test:
sdk: flutter
mobx_codegen: ^2.0.7
build_runner: ^2.2.0
CodePudding user response:
Try the following code:
dev_dependencies:
flutter_test:
sdk: flutter
mobx_codegen: ^2.0.2
build_runner: ^2.2.0
CodePudding user response:
You need to insert space in front of mobx_codegen
.
So you pubspec needs to look like this:
dev_dependencies:
flutter_test:
sdk: flutter
mobx_codegen: ^2.0.2
build_runner: ^2.2.0