Flutter : Themedata
Flutter: Themes If you want your Flutter app to have a stand out user experience I recommend to use Flutters theme widget. It can be used to define application wide colors , fonts and text styles. This theme can than be referenced within each widget in your app. In Flutter you can design custom themes with material app widget, they can be dark, light or colorful. The style depends on your preferred color set. In android we collect all th e theme related data in a resource directory, but in Flutter we are able to declare the theme inside the root widget of the project. MaterialApp ( ... theme: ThemeData ( ... ), // declared app theme ... ); The app theme can than be individualized by defining custom colors, fonts etc. inside the ThemeData widget. Define Application wide Colors ThemeData ( brightness: Brightness.light, primaryColor: Color(#003c7e), accentColor: Color(#4487c7), ... ) Declare Application wide Fonts ThemeData ( fontFamily: