Generated file used to list the specific versions of each dependency (immediate and transitive) that your project uses. Don’t change this file.įlutter SDK uses this file to save dependency info & settings. You may add more files and subfolders into this folder.įlutter SDK uses this file to save project info. This is where the unit testing code resides. This is the folder in which you will work 90% of the time. ![]() ![]() You will add code, files and subfolders into this folder. You should see a file ‘main.dart’, the entry point for the Flutter application. This is where the application code resides. You very rarely change things in this folder. Like the ‘android folder’, when you build your Flutter project, your Flutter code is generated into native code and injected into this folder. When building for iOS, Flutter uses Cocoapods as the dependency manager. This is where iOS-specific settings and generated code resides. Similar to the ‘android’ folder, this folder contains the iOS related files and code(s) for an XCode project. Generated and managed by the Flutter SDK. This folder is created and used by gradle when you build the project. When you build your Flutter project, your Flutter code is generated into native code and injected into this folder. When building for Android, Flutter uses Gradle as the dependency manager. This is where Android-specific settings and code resides. The most important of these configuration files is the ‘pubspec.yaml’ file, which declares the project dependencies and resources.Īs the name suggests, the folder contains all the Android-related files and code(s) for an Android project. This usually contains configuration files. Code will take a couple of minutes to setup the files in the project.Ĭommand Line flutter create Project CreatedĬongratulations - you have created your first Flutter project! Now let’s take a look at it.Select a folder to create the project in.Select the command ‘Flutter: New Project’.If you start to type ‘Flutter’ in this box, then you will see a list of Flutter commands. ![]()
0 Comments
Leave a Reply. |