Skip to content

sharmadhiraj/flutter-foundation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter Foundation

A minimal, structured Flutter base for real-world production apps, continuously evolving with practical improvements.

Work in progress — usage instructions coming soon.

Purpose

This repo provides Flutter developers with a minimal, structured, production-ready foundation that is easy to use, extend, and adapt, letting you focus on building features quickly while keeping code clean and maintainable.

Principles

  • Minimal and simple, with minimal external packages/plugins
  • Feature-first, clear separation of concerns, no overengineering
  • No generated code or heavy jargon
  • Iterative feature implementation, easy to adapt
  • Small, descriptive classes and functions
  • Minimal state and redundancy
  • Keep dependencies up to date
  • Continuously improved

Features / To Be Implemented

  • Feature-first modular structure
  • State management setup (Riverpod)
  • API client & network layer
  • Basic UI components (labels, inputs, dialogs, sheets)
  • Splash screen
  • Tabs & sticky headers
  • Utility and extension functions
  • Pagination & caching
  • Refresh token & storage management
  • App configuration management (dev/staging/prod)
  • Dependency injection (lightweight, optional)
  • Localization / multi-language support
  • Firebase setup (Crashlytics, Analytics)
  • Push notifications
  • Deeplink handling
  • Maps & location services
  • Analytics events tracking
  • Network retry & offline support
  • Error handling & logging (global catcher, user-friendly messages)
  • Onboarding / tutorial screens
  • Theming / Dark mode support
  • Accessibility considerations (font scaling, screen reader labels)
  • Automated tests (unit & widget)
  • CI/CD workflow
  • App versioning & upgrade prompts
  • Environment-based logging / debugging tools

Feedback

This project is a work in progress. Feedback, suggestions are always welcome!

About the Author

I’m a Flutter developer by profession, passionate about building clean and scalable apps. I also enjoy exploring other stacks, Flutter plugins/packages, Chrome extensions, automation tools, and scripts.

Connect with me: LinkedIn