Closed michaelu123 closed 4 years ago
The command flutter pub global activate l10n terminates with ... Precompiling executables... Failed to precompile l10n:mkl10n: /C:/flutter/.pub-cache/hosted/pub.dartlang.org/l10n-2.0.19/lib/extractor/L10NMessageExtraction.dart:159:56: Error: 'MapLiteral' isn't a type. if(arguments.length == 2 && arguments.last is! MapLiteral) { ^^^^^^^^^^
Sorry wrong package,
Apparently a duplicate of https://github.com/flutter/gallery/issues/324
how can we solve this problem?
pub global activate --source git https://github.com/Delagen/dart-l10n-gettext
The command flutter pub global activate l10n terminates with ... Precompiling executables... Failed to precompile l10n:mkl10n: /C:/flutter/.pub-cache/hosted/pub.dartlang.org/l10n-2.0.19/lib/extractor/L10NMessageExtraction.dart:159:56: Error: 'MapLiteral' isn't a type. if(arguments.length == 2 && arguments.last is! MapLiteral) { ^^^^^^^^^^