This commit is contained in:
nm1 2026-11-04 00:33:23 +05:30
commit 74ae93a96e

View file

@ -0,0 +1,20 @@
Structure
https://www.youtube.com/playlist?list=PLS1QulWo1RIa5W8F_XInRJrZLwkLY39oK
- `.dart-tool` : It has basic tool for developer console
- `.idea` : basic configurations for android studio. its idea as android studio is fork of intellij idea
- `android` : files that supports android functionality like to run, build apps for android.
- `build` : hold all output files and generated resources.
- `ios` : like android, it targets ios devices
- Similarly `linux`, `macos` and `windows` to tareget for respecticve devices
- `lib` : Most important folder as it contains source code and contains all dart files
- `test` : test cases for project
- `.metadata` : contains metadata of project
- `analysis_options.yaml` : contains lint rules
- `pubspec.lock` : to lock specfic version of dependencies which is generated from `pubspec.yaml` so very important for stability
- `pubspec.yaml` : it is configuration file and also one of the most imporant file. it contains configs of third party packages, fonts,images,location,etc
 
Widgets : Every component in flutter is regarded as widget like text, floating button, heading/label, app bar etc. These all are branches of root widget which is screen which is referred as scafford in flutter. Also all these widgets have their sub widgets too like app bar which have title contains text widget. center widget also have text widget. floating action button has icon widget.
![7342d910f2dc61fc0c63d87ed4936264.png](../../../_resources/7342d910f2dc61fc0c63d87ed4936264.png)