CRUD Table Flutter는 Flutter 애플리케이션 내에서 데이터 엔티티용 CRUD(Create, Read, Update, Delete) 사용자 인터페이스를 쉽게 만들 수 있도록 도와주는 가벼운 패키지입니다. 대규모 데이터 세트에서 성능을 향상시키기 위해 지연 로딩을 내장 지원하며, 사용성 향상을 위한 조정 가능한 테이블 열과 원활한 데이터 편집을 위한 통합 폼을 제공합니다. 기능을 희생하지 않고 빠른 UI 구현을 원하는 개발자를 위한 것으로, Android, iOS, Web, macOS, Windows, Linux 등 모든 주요 플랫폼을 지원합니다.
사용 사례
관리 대시보드 구축
앱에서 데이터 목록 관리하기
테이블에서 동적 양식 만들기
데이터 기반 인터페이스 프로토타이핑
백엔드 API와의 통합
주요 기능
대규모 데이터셋을 위한 지연 로딩
크기 조절 가능한 테이블 열
통합 CRUD 폼
크로스 플랫폼 호환성
최소 코드로 간단한 설정
자동 데이터 바인딩
적합한 대상
데이터 집약형 앱을 개발하는 개발자
빠른 UI 프로토타이핑이 필요한 프론트엔드 팀
관리자 패널 생성기
Flutter 초보자가 CRUD 패턴을 배우고 있습니다
고려 사항
Flutter 위젯에 대한 기본 지식이 필요합니다
고급 스타일링을 위한 제한된 사용자 정의
외부 상태 관리에 의존
간단한부터 중간 복잡도의 데이터 모델에 가장 적합
양식에 추가 검증 로직이 필요할 수 있습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
CRUD Table Flutter
CRUD Table Flutter is a powerful Flutter package that simplifies the creation of CRUD UI for your entity, object or class. This package features a highly efficient lazy loading function, resizable columns, and an integrated CRUD form to provide a seamless user experience. With CRUD Table Flutter, you can easily manage and organize your data, boosting your productivity and efficiency.
Features
Lazy loading Table
Resizable columns
Integrated CRUD Form
Customizable UI
CRUD UI
Lazy loading
Getting started
The package uses Riverpod for state management. So Please ensure you import flutter_riverpod and wrap the app with ProviderScope.
When using CrudTable, a CrudViewSource field must be passed and cannot be null. In the CrudViewSource, you will find a function field called emptyEntityFactory. This function requires an empty object that will be used with the CRUD UI. Ex :
Let's say you use User.class with this CrudTable, then the emptyEntityFactory will be
emptyEntityFactory: () => User();
Note : Give unique on every FormItem otherwise form data change will not work as we expect.