Flutter widgets are inherently attractive and functional. But how can you customize those widgets to perfectly reflect your vision? This video shows you exactly how to turn the basic Flutter widgets into exactly what you need for your app.
of the fundamentals of Dart that enables us to do this, … such as enums or const, final, passing functions, … and a whole lot of programming knowledge. … But in this lesson we're going to get back to our design, … and we're going to build out the next card. … or share settings across different scenes. … So instead of having it live inside a particular file … or a particular component, … it makes sense to create a new file … that is going to be a dart file, … and it's going to be called constants. … And this is going to hold all of the things … that are constant across our app. … So that is going to include … this labelTextStyle, for example. … So I'm going to cut it out of here … and paste it into here instead. … And of course, whenever we're using material components, … we have to import our material library. … Now, in addition to these text styles, … I can also add in all of my color constants from over here. … And we can paste that into this file instead. … And now I have all of my constants together in one place, …
This course was created by London App Brewery. We are pleased to host this content in our library.
- Using Flutter themes
- Refactoring widgets
- Customizing widgets using themes
- Routes and navigating
- Dart maps