crud_table 0.0.3 copy "crud_table: ^0.0.3" to clipboard
crud_table: ^0.0.3 copied to clipboard

outdated

CRUD Table Flutter is a package for crating CURD-UI for your entity/object/class easily. It consists of a Lazy loading function, resizable columns, and integrated CRUD Form.

CRUD Table Flutter #

CRUD Table Flutter is a package for crating CURD-UI for your entity/object/class easily. It consists of a Lazy loading function, resizable columns, and integrated CRUD Form.

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.

import 'package:flutter_riverpod/flutter_riverpod.dart';

  runApp(
    ProviderScope(
      child: MyApp(),
    ),
  );

See the example project.

Installing: #

In your pubspec.yaml

dependencies:
  crud_table: 
import 'package:crud_table/crud_table.dart';

Usage #

When you use CrudTable there you have to pass a CurdViewSource field, and it cannot be null.
In CurdViewSource you can see there is a function field call emptyEntityFactory there you have to provide an empty Object which you are use with this 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.

Additional information #

Inspired by Vaadin Crud UI Add-on

License #

Licensed under the Apache License, Version 2.0

44
likes
0
pub points
67%
popularity

Publisher

unverified uploader

CRUD Table Flutter is a package for crating CURD-UI for your entity/object/class easily. It consists of a Lazy loading function, resizable columns, and integrated CRUD Form.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

fluid_kit, flutter, flutter_riverpod, split_view, visibility_detector

More

Packages that depend on crud_table