Flutter:: New is not expanding when right click on lib

Issue

I am new to flutter,

When I try to add a new dart File in lib, I right-click on lib and hover the mouse pointer on New, it is not expanding further

Image

I run command flutter doctor, everything is fine also i run flutter upgrade but not working for me

Solution

Just click on new then vs code open a text field in file area, and you can enter filename with extension like

example.dart

And hit enter button from key board

Answered By – Prabhanshu Tiwari

Answer Checked By – Gilberto Lyons (FlutterFixes Admin)

Leave a Reply

Your email address will not be published. Required fields are marked *