You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Quick Debug/Launch button missing when renaming lib folder #4429
@christopherfujino@jacob314 is there any requirement to have Flutter entry points inside lib/? I thought there was (maybe that something was using package: internally and that's where the package root is), but with a quick test, having the file in src/seems to launch fine on Web and macOS and I can't find any docs backing up that lib/ is a requirement.
@christopherfujino@jacob314 is there any requirement to have Flutter entry points inside lib/? I thought there was (maybe that something was using package: internally and that's where the package root is), but with a quick test, having the file in src/seems to launch fine on Web and macOS and I can't find any docs backing up that lib/ is a requirement.
Sorry I missed this original ping. There is nothing that I know of that would require the entrypoint to be under lib/. AFAIK, as long as the Dart compiler can resolve package imports within that entrypoint, everything should work.
Activity
DanTup commentedon Mar 9, 2023
@christopherfujino @jacob314 is there any requirement to have Flutter entry points inside
lib/? I thought there was (maybe that something was usingpackage:internally and that's where the package root is), but with a quick test, having the file insrc/seems to launch fine on Web and macOS and I can't find any docs backing up thatlib/is a requirement.DanTup commentedon Apr 25, 2023
@christopherfujino @jacob314 friendly ping - do either of you know the answer to this, or where I might find it?
christopherfujino commentedon Apr 25, 2023
Sorry I missed this original ping. There is nothing that I know of that would require the entrypoint to be under
lib/. AFAIK, as long as the Dart compiler can resolve package imports within that entrypoint, everything should work.DanTup commentedon Apr 26, 2023
Got it, thanks!
Show run/debug buttons in toolbar for all dart files