Andrés Escobar
Flutter Theme: All with less code
#1about 1 minute
A strategy for writing less theme code in Flutter
An overview of the challenges with verbose theme extensions and a plan to use a package and specific tips to reduce boilerplate code.
#2about 1 minute
The boilerplate problem with manual theme extensions
Manually creating ThemeData extensions requires implementing methods like copyWith and lerp, leading to verbose and messy code as properties increase.
#3about 2 minutes
Generating theme extensions with the theme_tailor package
The theme_tailor package uses code generation with the @Tailored annotation to automatically create theme extensions, drastically reducing manual boilerplate.
#4about 1 minute
Managing colors consistently with enhanced color schemes
Enhance the built-in ColorScheme.light and ColorScheme.dark instead of creating custom color properties to maintain consistency with Material Design.
#5about 2 minutes
Sharing styles across themes with a common extension
To avoid duplicating component styles in light and dark themes, create a separate file with a common theme data extension that can be applied to both.
#6about 1 minute
Applying the final structured themes to your app
The final step involves assigning the fully constructed light and dark themes to the theme and darkTheme properties of the MaterialApp widget for automatic switching.
Related jobs
Jobs that call for the skills explored in this talk.
Eltemate
Amsterdam, Netherlands
Intermediate
Senior
TypeScript
Continuous Integration
+1
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Matching moments
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
07:46 MIN
The challenge of keeping up with modern CSS
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
03:58 MIN
Making accessibility tooling actionable and encouraging
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
03:05 MIN
Building collaborative design tools and the neo-brutalism trend
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
11:10 MIN
The only frontend stack that truly matters
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
Featured Partners
Related Videos
Writing truly cross plattform applications using flutter
Simon Auer
Intro to Flutter Development
Mira Jago
Using Serious Tech for a Silly Game - How to Build an MVP with Flutter
Sylvia Dieckmann
Dart - a language believed dead, experiences a new bloom
Christoph Menzel
Level up your Angular CSS with Tailwind CSS
Patricio Vargas
Dart - a language believed dead, experiences a new bloom
Christoph Menzel
Level up your Angular CSS with Tailwind CSS
Patricio Vargas
Is Flutter ready for the web yet? - A live coding comparison between Flutter and React
Marcus Wojtusik & Thomas Hinterwimmer
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.





Handycurls Ltd
Charing Cross, United Kingdom
API
MVC
XML
iOS
JSON
+6

Searchability
Manchester, United Kingdom
£40-50K
GIT
JSON
Dart
REST
+5


