Closed alvaroreis closed 3 years ago
Você pode mandar uma foto da sua estrutura de pastas, a partir de qual pasta você rodou o comando e o seu pubspec.yaml?
@alvaroreis you are using flutter_launcher_icons package? If yes and you put flutter_icons: declaration on you pubspack,yaml file, this is the cause of your error, remove the flutter_icons: declaration to another file like flutter_launcher_icons.yaml, and the error is fixed.
@alvaroreis you are using flutter_launcher_icons package? If yes and you put flutter_icons: declaration on you pubspack,yaml file, this is the cause of your error, remove the flutter_icons: declaration to another file like flutter_launcher_icons.yaml, and the error is fixed.
Obrigado, resolveu meu problema.
Unhandled exception: NoSuchMethodError: Class 'String' has no instance method '[]='. Receiver: "flutter clean" Tried calling: []=("get", Instance of 'Line')
0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
1 PubspecServiceImpl.loadYaml (package:slidy/src/core/services/pubspec_service_impl.dart:45:40)