Technical & DevelopmentAdvanced
flutter-theming-apps
Customize Flutter app appearance through the theming system
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/flutter/skills --skill flutter-theming-appsnpx skills add https://github.com/flutter/skills --skill flutter-theming-appsOr paste this URL into your assistant to install:
Overview
What This Skill Does
Customize Flutter app appearance through the theming system
Application
When to use this Skill
- Integrating flutter theming apps into your development workflow.
- Following best practices for customize flutter app appearance through the theming system.
- Automating repetitive tasks with AI-assisted tooling.
- Building production-grade applications with proper standards.
- Debugging and troubleshooting common implementation issues.
Documentation
Show Skills.md file
Implementing Flutter Theming and Adaptive Design
Contents
- Core Theming Concepts
- Material 3 Guidelines
- Component Theme Normalization
- Button Styling
- Platform Idioms & Adaptive Design
- Workflows
- Examples
Core Theming Concepts
Flutter applies styling in a strict hierarchy: styles applied to the specific widget -> themes that override the immediate parent theme -> the main app theme.
- Define app-wide themes using the
themeproperty ofMaterialAppwith aThemeDatainstance. - Override themes for specific widget subtrees by wrapping them in a
Themewidget and usingTheme.of(context).copyWith(...). - Do not use deprecated
ThemeDataproperties:- Replace
accentColorwithcolorScheme.secondary. - Replace
accentTextThemewithtextTheme(usingcolorScheme.onSecondaryfor contrast). - Replace
AppBarTheme.colorwithAppBarTheme.backgroundColor.
- Replace
Material 3 Guidelines
Material 3 is the default theme as of Flutter 3.16.
- Colors: Generate color schemes using
ColorScheme.fromSeed(seedColor: Colors.blue). This ensures accessible contrast ratios.
Lines 1 - 25 of 152
Recommendations
Explore other random skills
TechnicalIntermediate
provider-resources
Implement Terraform Provider resources and data sources using the Plugin Framework
TechnicalIntermediate
provider-test-patterns
Acceptance test patterns for Terraform providers using terraform-plugin-testing
TechnicalIntermediate
terraform-style-guide
Generate Terraform HCL code following HashiCorp's official style conventions