Issue
In flutter project, main.dart is not recognizing as .dart file in android studio as shown in the screenshot attached. If I change the name of the file then it's recognizing.click here to view screenshot
Solution
Looks to me that the IDE is incorrectly associating your file as a Text file.
- Go to File -> Settings (Ctrl + Alt + S)
- Search for "File Types"
- Look for Text in the list
- Check if there is no entry for "main.dart" in the Text Type association.
- If so, remove it.
Answered By - Frank
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.