What is Flutter?
講座說明
So the first thing that I want to talk about is what exactly is flutter. And to be able to answer this question we first have to put ourselves into the mind of a mobile app developer. This is Bob.
And at some point he finally has had enough and he decides to go and buy loads and loads of books study
Now this is great for the users but for Bob it means that when he has any updates that he wants to make to the app or any bug fixes he has to push those both to the Play Store as well as the app store. It doesn't look right. What is wrong with your app. Now this is because not only does he have to support a huge array of different screen sizes and aspect ratios for the Iaw ecosystem the eye pads the iPhones the older iPhones but he also now has a whole bunch of Android devices and because Android devices can be made by literally anybody the number of different screen sizes is just massive.
The guys that flutter had this question more and more so we're seeing screens everywhere. So why can't we create something that can intelligently and easily allow developers to design beautiful interfaces for all of these different types of screens. So this means that instead of having to make ISIS apps the Apple way and make Android apps the android way you can simply use a whole bunch of pre-built widgets from flutter such as a floating action button or a linear progress indicator. And you can simply put these into your app no matter which platform you're working on and they've even designed widgets that look the part for each platform.
This is how flutter works you get access to a whole bunch of widgets so you can see these widgets as Lego blocks almost. And by plugging them together and customizing it you end up with your beautiful app that can be deployed almost anywhere. Let's take a look at how easy it can be working with widgets in real life. I've created a blank app and I'm going to go ahead and add an app bar and this is a pre-built widget which is built by flutter.
And as soon as I hit save my app bar gets painted onto the screen. So let's customize it to change it to red. So now I added colors widget and I changed the color. So now let's add a text widget that adds a title to the APA.
And just like Lego I've plucked together all my widgets and I've managed to build my app bar in a matter of seconds and there's loads of different widgets that are pre-built. I can build up my app and customize it to my liking with very few lines of code. Now what if I wanted some functionality.
學習完整課程,瞭解更多知識
The Complete Flutter Development Bootcamp with Dart
Officially created in collaboration with the Google Flutter team.
28:20:08 長的隨選影片 • 更新於 November 2025