ThemeData

The Theme widget contains a property called data, which accepts a ThemeData value that holds all the information about the styling, theme brightness, colors, font, and so on.

During the writing of this book, alternatives to iOS Cupertino guidelines are being developed and are not present in the stable channel of Flutter. (The code in this book uses the stable channel.)

By using ThemeData class properties, you will be able to customize all of the application-related styles, such as colors, typography, and specific components. When theming, you can choose to follow Material Design guidelines from Google that targets app design for mobile, web, and desktop devices, or iOS Cupertino that are specific to the Apple's platform.

Both design ...

Get Flutter for Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.