Skip to content

kuldii/tutorial_clean_architecture

Repository files navigation

Tutorial Clean Architecture

A Flutter project demonstrating the implementation of Clean Architecture principles.

Getting Started

This project serves as an example project for building scalable and maintainable Flutter applications using Clean Architecture by Kuldii Project.

Table of Contents

Introduction

Clean Architecture, popularized by Robert C. Martin (Uncle Bob), aims to create systems that are:

  • Independent of Frameworks
  • Testable
  • Independent of UI
  • Independent of Database
  • Independent of any external agency

This project integrates Hive for local storage, ensuring that our data layer remains fast and efficient.

Project Structure

lib/
├── core/
│   ├── error/
│   └── routes/
├── features/
│   ├── feature_name/
│   │   ├── data/
│   │   ├── domain/
│   │   └── presentation/
├── injection.dart
├── observer.dart
└── main.dart

Setup

  1. Clone the repository:
git clone https://github.com/kuldii/tutorial_clean_architecture.git
cd tutorial_clean_architecture
  1. Install dependencies:
flutter clean
flutter pub upgrade --major-versions
flutter pub get
  1. Generate some missing part:
dart run build_runner build --delete-conflicting-outputs
  1. Run the application:
flutter run

Dependencies

For more information on Flutter, visit the official documentation. If you're new to Flutter, consider starting with the Lab: Write your first Flutter app or explore the Cookbook: Useful Flutter samples.

About

Tutorial membangun aplikasi Flutter menggunakan clean architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors