Reader small image

You're reading from  Flutter Cookbook, Second Edition - Second Edition

Product typeBook
Published inMay 2023
Reading LevelIntermediate
PublisherPackt
ISBN-139781803245430
Edition2nd Edition
Languages
Tools
Right arrow
Author (1)
Simone Alessandria
Simone Alessandria
author image
Simone Alessandria

Simone Alessandria wrote his first program when he was 12. It was a text-based fantasy game for the Commodore 64. Now, he is a trainer (MCT), author, speaker, passionate software architect, and always a proud coder. He is the founder and owner of Softwarehouseit. His mission is to help developers achieve more through training and mentoring. He has authored several books on Flutter, including Flutter Projects, published by Packt, and web courses on Pluralsight and Udemy.
Read more about Simone Alessandria

Right arrow

Summary

In this chapter, you have seen several ways to manage your widget trees:

  • You have used Row and Column widgets to place their content in a linear way, and seen an introduction to proportional spacing between widgets with the use of Flexible and Expanded widgets.
  • You have used a CustomPaint widget to draw custom shapes: in the code example, you have designed stars that can be used to show ratings for products or any other content.
  • You have seen how to break up complex layouts into smaller, reusable widgets, and used refactoring techniques to simplify widget trees and improve maintainability and performance.
  • Finally, we have covered the use of global themes to apply a consistent visual style to a Flutter app, and how to use the Theme widget to define properties that can be inherited by child widgets.
  • One of the key takeaways from this chapter is the importance of creating reusable widgets and breaking up complex layouts into smaller, more manageable...
lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Flutter Cookbook, Second Edition - Second Edition
Published in: May 2023Publisher: PacktISBN-13: 9781803245430

Author (1)

author image
Simone Alessandria

Simone Alessandria wrote his first program when he was 12. It was a text-based fantasy game for the Commodore 64. Now, he is a trainer (MCT), author, speaker, passionate software architect, and always a proud coder. He is the founder and owner of Softwarehouseit. His mission is to help developers achieve more through training and mentoring. He has authored several books on Flutter, including Flutter Projects, published by Packt, and web courses on Pluralsight and Udemy.
Read more about Simone Alessandria