
Flutter Config
Sets up Flutter app flavors the right way: one main.dart entry point, environment config via dart-define-from-file JSON files, and proper platform setup for iOS and Android. You get three flavors out of the box (dev, staging, prod) with separate Firebase projects, bundle IDs, and API endpoints. The approach is cleaner than the old multi-entry-point pattern and keeps secrets out of your JSON configs. If you're tired of hardcoded URLs or juggling environment variables across build scripts, this gives you a reproducible structure that works locally and in CI without the usual flavor setup headaches.
- skills.sh installs
- 260
- GitHub stars
- 30
- last updated
- Aug 21, 2026
Install
$ npx -y skills add dhruvanbhalara/skills --skill flutter-config --agent claude-codeInstalls into .claude/skills of the current project.
Files
Flavor Architecture
- Define three flavors:
dev,staging,prod - Use a single
main.dartentry point for all flavors - Pass flavor-specific configuration via
--dart-define-from-file:flutter run --flavor dev --dart-define-from-file=config/dev.json flutter run --flavor staging --dart-define-from-file=config/staging.json flutter run --flavor prod --dart-define-from-file=config/prod.json - NEVER create separate
main_dev.dart,main_staging.dart,main_prod.dartentry points
Config JSON Structure
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/dhruvanbhalara/skills
- Categories
- Backend & APIs, DevOps & CI/CD, Mobile Development, Databases
- First seen
- Jun 3, 2026
More from dhruvanbhalara/skills
All 15Recommended
More Backend & APIs1
ggetdavila7/claude-code-templatesCLI/Python toolkit for rapid bioinformatics queries. Preferred for quick BLAST searches. Access to 20+ databases: gene info (Ensembl/UniProt), AlphaFold, ARCHS4259skills.sh installs
2
microsoft-graphmarkpitt/claude-skillsOrchestration hub for Microsoft Graph API across Microsoft 365 services. Use for Graph API integrations, querying Microsoft 365 data, and building applications 259skills.sh installs
3
pp-ahrefsmvanhorn/printing-press-libraryPrinting Press CLI for Ahrefs. SEO and competitive intelligence API for backlinks, keywords, rank tracking, site audit, and SERP data.259skills.sh installs
4
sec-corp-governanceoctagonai/skillsReview corporate governance practices and board composition from SEC filings using Octagon MCP. Use when researching board structure, director qualifications, c259skills.sh installs
5
ticktick-clidcjanus/prompts使用 Python CLI 与 Dida365 Open API 交互以管理滴答清单任务/项目,适用于需要通过脚本或命令行调用滴答清单接口的场景(如项目/任务的查询、创建、更新、完成、删除)。258skills.sh installs
6
zustand-stateexistential-birds/beagleZustand state management for React and vanilla JavaScript. Use when creating stores, using selectors, persisting state to localStorage, integrating devtools, or258skills.sh installs