My notes on the study of Flutter & Dart. Source: Lessons of Dr. Angela Yu from Udemy officially created in collaboration with the Google Flutter team.
5. How to Add App Icons to the iOS and Android Apps
So now that we’ve pretty much created all of the interface of our ‘I Am Rich’ app, we have a scaffold with an app bar, a body, an image that comes from our assets in our images folder.
But there’s just one thing that we still haven’t got. We haven’t got a custom app icon. For every single app that you create using Flutter, you get a default Flutter logo as your app icon. [Read more…]
4. Working with Assets in Flutter & the Pubspec file
Now in the last lesson, we’ve already created the main structure of our app.
But in this lesson, I want to show you how you can work with image assets that you load into your app, so you don’t have to fetch it from the Internet and you’ll be able to use it anywhere inside your app without needing an internet connection.
3. Scaffolding a Flutter App
Now in thise lesson, we created a brand new Material App, which is going to be the basis for all the other widgets that we’re going to construct on-screen. And by including the Material App, we also get to tap into all of the components or widgets that the Material apps come with, such as a text or an image widget. [Read more…]
2. Creating a New Flutter Project from Scratch
Let’s create a brand new Flutter project in Android Studio, it’ll set you up with some starting code. The starting code is created by the Flutter team, and all it does is it creates a simple counter app.
Now in this case it’s a counter app that is created using what’s called a scaffold.
And if you want to just quickly run it just to see what it looks like then go ahead and open up your Android emulator or your iOS simulator, and click Run.