Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Clean Architecture with RiverpodNew to Visual Studio Code? Get it now.
Clean Architecture with Riverpod

Clean Architecture with Riverpod

Biso

|
104 installs
| (1) | Free
Flutter 프로젝트를 위한 간단한 Clean Architecture 및 Riverpod 구조 자동 생성 확장
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

📁 Clean Architecture with RiverPod

Clean Architecture with RiverPod는 Flutter 프로젝트를 위한 기능별 폴더 구조와 기본 파일을 자동으로 생성해 주는 VSCode 확장 프로그램입니다. 프로젝트 초기 설정을 간편하게 만들어 줍니다.

기능

  • 폴더 구조 자동 생성: 기능 이름을 입력하면 관련된 폴더와 파일이 자동으로 생성됩니다.
  • 기본 파일 생성: 모델, 리포지토리, 위젯 등 다양한 파일이 기본 템플릿과 함께 만들어집니다.
  • 간편한 사용: 폴더 구조를 간단하게 생성할 수 있습니다.

사용 방법

  1. 확장 프로그램 설치: VSCode 마켓플레이스에서 "클린 아키텍처 with Riverpod"을 설치합니다.
  2. 폴더에서 우클릭: 프로젝트의 원하는 위치에서 폴더를 우클릭합니다.
  3. 폴더 및 파일 구조 생성: "Create Feature Folder Structure"를 선택하고, 기능 이름을 입력하면 클린 아키텍처에 맞는 폴더와 파일 구조가 생성됩니다.

생성되는 폴더 및 파일 구조

lib/
└── core/
└── features/
    ├── ${feature}/
    │   ├── domain/
    │   │   ├── entities/
    │   │   │   └── ${feature}_entity.dart
    │   │   ├── repositories/
    │   │   │   └── ${feature}_repository.dart
    │   │   ├── usecases/
    │   │       └── ${feature}_usecase.dart
    │   ├── data/
    │   │   ├── dtos/
    │   │   │   └── ${feature}_request.dart
    │   │   │   └── ${feature}_response.dart
    │   │   ├── repositories/
    │   │   │   └── ${feature}_repository_impl.dart
    │   │   └── sources/
    │   │       └── ${feature}_source.dart
    │   ├── presentation/
    │       ├── providers/
    │       │   └── ${feature}_provider.dart
    │       ├── screens/
    │       │   └── ${feature}_screen.dart
    │       └── widgets/
    │           └── ${feature}_widget.dart

파일 생성 안내

  • 자동 생성된 파일: 각 폴더에는 $feature 이름을 기반으로 한 Dart 파일들이 생성됩니다.
  • 템플릿 포함: 각 파일에는 Riverpod과 클린 아키텍처를 반영한 기본 템플릿이 포함됩니다. 예를 들어, StatelessWidget을 사용하는 파일에는 import 'package:flutter/material.dart';가 자동으로 추가됩니다.

라이선스

이 프로젝트는 Apache License에 따라 배포됩니다. 자세한 내용은 LICENSE 파일을 참조하세요.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft