Home | FlexColorScheme | Issues | Flexfold |
Articles | FlexColorPicker | Grid |
Articles and Rumblings
I sometimes write blog-like articles about Flutter and publish them here. Who knows, maybe I will make some cross-posts on other sites too, some rainy day. We will see, but for now you can find Flutter Santa’s rumblings here.
Occasionally, I also publish Flutter Gists that you can try in DartPad. The Gists might be a Flutter example, snippet, issue or a setup that I found useful and wanted to share in a short blog-like format and also document it. This way I can find it myself when I need it again. My more or less documented Flutter Gists can be found here.
Chill, peace and Flutter love to you all! 💙
Adaptive Theming Guide
(Published July 9, 2024, Updated Oct 21, 2024)
In this advanced theming guide, we walk through how to create a custom Flutter Material theme that adapts to the platform it runs on. We use a custom seed generated ColorScheme
that gets vibrant colors and uses multiple seed colors. We give the ColorScheme
a platform adaptive response, so that surface colors are only primary color tinted on Android, while using monochrome greyscale surfaces on all other platforms. [Read more…]
Flutter Linting Comparison
(Jul 28, 2021, Updated Nov 20, 2023)
Dart linting is important, if you have not used it before, it is a good idea to start now. At the end of this article, I also present a comparison of different popular lint packages and the Dart and Flutter lint rules they use. [Read more…]
FlexColorScheme and Riverpod Theming
(Oct 24, 2022, Updated April 22, 2023)
This article presents a Flutter application example that shows how to use FlexColorScheme together with Riverpod to dynamically change your persisted application theme. [Read more…]
Deep Dive into Theming
(Sep 6, 2022, Updated Nov 28, 2022)
I had the pleasure of talking about theming Flutter apps at the Flutter Vikings 2022 conference, in Oslo on Aug 31, 2022. [Read more…]
Flutter App Theming Talk
(May 19, 2022)
On May 17, 2022, at Flutter Nordics meetup at Wolt HQ in Helsinki, I had the pleasure of talking about theming Flutter applications, and the state of Material 3 Design in Flutter 3.0. [Read more…]
Roads to ThemeData
(May 2, 2022)
In this article we compare different ways to define and create a ThemeData
object and look at the differences we get in effective colors in the theme. We examine 13 different roads to make a ThemeData object. [Read more…]
Flutter Theming Guide
(May 1, 2022, Updated May 4, 2022)
The Flutter ThemeData
object defines the look of your application, and to a degree how it behaves. The ColorScheme
class is a data class that holds 27 Color
properties. Flutter’s built-in components use these colors in predefined ways. [Read more…]
Constrained Centered Layout and Theming Flutter
(Oct 26, 2021)
In this article, I discuss challenges with the web center constrained layout in Flutter and provide a deeper dive and an example of how to theme Flutter applications. [Read more…]
ClipRect on Container with BoxShadow
(Jun 4, 2020)
A pet nit-picking Flutter rendering issue of mine is the ClipRect issue. [Read more…]
Correct Way to Add Padding to Slivers
(Feb 21, 2020)
You cannot wrap a Sliver with normal Padding in Flutter. [Read more…]
Page updated Nov 28, 2022