Clean architecture template project for new flutter applications.

Last update: Jul 27, 2022

Flutter

clean_template

Clean architecture template project for new flutter applications.


Implemented app logic

  • RestClient - rest API client-server networking using dio package;
  • DIContainer - dependency injection container using get_it package;
  • Service - abstraction for implementing specific app logic; Implementations of Service:
    • AppRouter - app navigation using flutter navigation with Routes enum. Supports nested navigator;
    • ModalBottomSheetService - service for showing modal bottom sheet;

Project structure:

  • config
  • core
    • app
    • services
      • router
  • data
    • models
    • storage
  • domain
    • models
      • requests
      • responses
    • network
    • repositories
  • presentation
    • components
    • screens
    • styles
  • utils
    • extensions

Structure description

  • config -
  • core -
    • app -
    • services -
      • router -
  • data -
    • models -
    • storage -
  • domain -
    • models -
      • requests -
      • responses -
    • network -
    • repositories -
  • presentation -
    • components -
    • screens -
    • styles -
  • utils -
    • extensions -

Used dependencies

Necessary


Additional useful dependencies

  • http - library for making http requests, has many useful functions and classes
  • freezed_annotation - required when using freezed package, helps to generate freezed classes
  • easy_localization - very simple for implement localization library with support of json configs and localization keys generator
  • permission_handler - helps to request any permissions from app users

Used dev dependencies

Necessary


Additional

  • freezed (recommended) - very useful code generator that helps to save many work time and significantly reduces lines of code

TODOS

  • fill project structure directories description
  • add more dependency packages
    • add UI dependencies bloc
  • implement DialogSerivce
  • implement OverlayService
  • implement auto_route package

GitHub

https://github.com/mentallyunstable/flutter_clean_template
You might also like...

Flutter ui boilerplate is easiest way to create new flutter project with clean code and well organized file folder.

Flutter ui boilerplate is easiest way to create new flutter project with clean code and well organized file folder.

Flutter UI Boilerplate "Sharing for fun" Flutter ui boilerplate is easiest way to create new flutter project with clean code and well organized file f

Aug 8, 2022

Flutterstarterproject - Clean Architecture Flutter starter project, using tdd + bloc

Flutterstarterproject - Clean Architecture Flutter starter project, using tdd + bloc

Flutter Starter Project Generated by the Nero Lab CLI 🤖 A Nero Lab Project crea

Jul 29, 2022

Flutter starter project - boilerPlate for Clean Architecture with Domain-Driven-Design with commonly used dependencies

flutter_starter_project A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you

Jan 2, 2022

This project follows the Reso Coder course for flutter test-driven-development with clean architecture and BloC state management for a random trivia simple app.

This project follows the Reso Coder course for flutter test-driven-development with clean architecture and BloC state management for a random trivia simple app.

Jan 5, 2022

Flutter project to find and discover events with Clean Architecture and Bloc from SeatGeek API.

Flutter project to find and discover events with Clean Architecture and Bloc from SeatGeek API.

Jun 19, 2022

Now UI Flutter is a fully coded app template built for Flutter which will allow you to create powerful and beautiful e-commerce mobile applications

Now UI Flutter is a fully coded app template built for Flutter which will allow you to create powerful and beautiful e-commerce mobile applications

Now UI Flutter is a fully coded app template built for Flutter which will allow you to create powerful and beautiful e-commerce mobile applications. We have redesigned all the usual components to make it look like our Now UI Design, minimalistic and easy to use.

Jul 7, 2022

A Boilerplate Project which adopts the concept of Clean Architecture and Modularization.

A Boilerplate Project which adopts the concept of Clean Architecture and Modularization.

Flutter-Works Boilerplate Table Of Content Overview Getting Started Requirement Setup Setup Firebase Android IOS Change Package Name Running/Debugger

Aug 6, 2022

Clean Architecture Project with TDD Approach

Clean Architecture Project with TDD Approach

Clean-Architecture-Project-with-TDD-Approach Small project to implement TDD(Testing Driven Development) by applying SOLID and YAGNI and rules(Clean Ar

Jun 24, 2022

Flutter starter template for production applications with a REST backend

Flutter starter template for production applications with a REST backend

Flutter Boilerplate My Flutter starter template for production applications with a REST backend. The main aim of this template is to get you up and ru

Apr 13, 2022

Related

Flutter-clean-architecture - A simple flutter project developed with TDD and using Clean Architecture principles.

Clean Architecture This is a study project to practice TDD and a good approach of Clean Architecture for flutter projects. It is based on Reso Coder s

Jul 21, 2022
clean architecture and clean code with flutter , with bloc and getx state managment .

example_bloc A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Aug 9, 2022
Flutter Architecture inspired by Domain Driven Design, Onion and Clean Architecture
Flutter Architecture inspired by Domain Driven Design, Onion and Clean Architecture

Inspiring Domain Driven Design Flutter Architecture Please take a look at my slides to learn more Strategic Domain Driven Design For Improving Flutter

Aug 13, 2022
Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to developing Flutter apps.
Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to developing Flutter apps.

Flutter Architecture Blueprints Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to dev

Apr 9, 2022
Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to developing Flutter apps.
Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to developing Flutter apps.

Flutter Architecture Blueprints Flutter Architecture Blueprints is a project that introduces MVVM architecture and project structure approaches to dev

Aug 16, 2022
Structured and Organized Flutter (ANDROID+WEB) template project using Redux architecture and Retrofit rest package

flutter_redux_template A new Flutter project. JSON Models classes need this lines to json generator: part 'foo.g.dart'; //on imports factory Foo.from

Apr 11, 2022
Flutter project template with BloC architecture. Implemented many feature as stated in README
Flutter project template with BloC architecture. Implemented many feature as stated in README

Flutter Project Template Using BloC Implementations Theme switching Advanced Routing Bloc Observer for debugging Hydrated Cubit for holding value even

Jun 10, 2022
Flutter getx template - A Flutter Template using GetX package for State management, routing and Dependency Injection
Flutter getx template - A Flutter Template using GetX package for State management, routing and Dependency Injection

Flutter GetX Template (GetX, Dio, MVVM) This Flutter Template using GetX package

Jul 3, 2022
Jul 29, 2022