Make sure that dependencies are properly aligned with spaces. images/ → we can use all images that are in the images folder. Images/apple.jpeg → we can use only apple.jpeg image. We can specify file path with folder name and file name or only the folder name. We have to specify assets in the pubspec.yaml. In this article, I am using Flutter with Android Studio.Īdd dependencies and images in pubspec.yaml fileįlutter_rating is the third party dependency. Run in the selected device → flutter run -d 4299a0c86788f678Ĭheck the specific design/run particular dart file in a selected device → flutter run -d 4299a0c86788f678 lib/main.dart Running above command will list devices like below If your system is connected with multiple devices then, check the connected devices with this command → flutter devices
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |