in this course section, we will create first App Roll dice to generate random values and then relected that in App
Basic Syntax and Feature
14. Analyzing A new flutter project
lib/main.dart: it is consist of Flutter and darts codes
dart is the programming language used by flutter to build apps with flutter and this code file must end with dot Dart to tell VS code
android, iOS, web, windows folder: you do not need to do anything in these platform folders that will be managed by Flutter, but it is still important when you want to publish App to Android or Apple store
build folder: it contain temporary files and output file generated by Flutter
test folder: your will write code to test your main application code, also could Define automated tests, which can be very useful for catching errors early
the other folders like android, ios, macos,web and build so on, whenever you want to publish an app to a sepcific platform the files and folders in the respective platform folder will become important. so it builds your app for different target platforms. So you shouldn’t change anything in there, but it is an import folder
.idea: extra configuration for Android Studio
.dart_tool:This directory contains build tools and temporary files generated during the build process
.gitignore: A file that specifies intentionally untracked files to be ignored by Git. It helps to exclude certain files and directories from being tracked