I am getting the following error on running flutter create my_appName: "my_appName" is not a valid Dart package name
1,935
Package names should be all lowercase, with underscores to separate words, just_like_this. Use only basic Latin letters and Arabic digits: [a-z0-9_]. Also, make sure the name is a valid Dart identifier -- that it doesn't start with digits and isn't a reserved word.
see this - https://dart-lang.github.io/linter/lints/package_names.html
Author by
Shehzadahmad_
Updated on December 30, 2022Comments
-
Shehzadahmad_ over 1 year
-
jamesdlin almost 3 yearsThe error message included a link with details. Was there anything unclear about that documentation that needs to be improved?
-