v0.0.6crud_table
CRUD Table Flutter는 엔티티/객체/클래스용 CRUD UI를 쉽게 만들 수 있도록 도와주는 패키지입니다. 지연 로딩 기능, 크기 조절 가능한 열, 통합된 CRUD 폼이 포함되어 있습니다.
CRUD Table Flutter는 지연로딩 기능, 조정 가능한 열 및 통합된 CRUD 폼을 포함하고 있습니다.
{"sdk":"flutter"}^3.0.0^2.4.3^3.2.1^0.4.0+2{"sdk":"flutter"}^2.0.3아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
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.
| https://user-images.githubusercontent.com/24836910/143689692-3a0cefb4-26f1-40d0-a647-cc47101a1e5a.gif CRUD UI |
https://user-images.githubusercontent.com/24836910/143689708-872d9c96-8207-4463-97c5-71b47cc7634d.gif Lazy loading |
|---|
The package uses Riverpod for state management. So Please ensure you import flutter_riverpod and wrap the app with ProviderScope.
import 'package:flutter_riverpod/flutter_riverpod.dart';
runApp(
ProviderScope(
child: MyApp(),
),
);
See the example project.
In your pubspec.yaml
dependencies:
crud_table:
import 'package:crud_table/crud_table.dart';
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.
Check the example project.
Inspired by Vaadin Crud UI Add-on
Licensed under the Apache License, Version 2.0