Themes, styles, and media

Flutter applications are easy to style; you can switch
between light and dark themes,
change the style of your text and UI components,
and more. This section covers aspects of styling your Flutter apps
and compares how you might do the same in UIKit.

Using a theme

Out of the box, Flutter comes with a beautiful implementation
of Material Design, which takes care of a lot of styling and
theming needs that you would typically do.

To take full advantage of Material Components in your app,
declare a top-level widget, MaterialApp,
as the entry point to your application.
MaterialApp is a convenience widget that wraps a number
of widgets that are commonly required for applications
implementing Material Design.
It builds upon a WidgetsApp by adding Material specific functionality.