flutty_tables
Advanced table components for Flutter with sorting, filtering and pagination.
Installation
dependencies:
flutty_tables: ^0.1.1
Usage
Quick start
import 'package:flutty_tables/flutty_tables.dart';
StaticRowTable(
title: 'User info',
elements: [
StaticRowTableElement(
rowBuilder: () => const Row(
children: [
Expanded(child: Text('Name')),
Text('Alice'),
],
),
),
StaticRowTableElement(
rowBuilder: () => const Row(
children: [
Expanded(child: Text('Email')),
Text('alice@example.com'),
],
),
),
],
);
ExpandableRowTable(
title: 'Orders',
elements: [
ExpandedRowTableElement(
id: 'order-1',
rowBuilder: () => const Text('Order #1'),
expendedBuilder: () => const [Text('Details')],
),
],
);
Example
See packages/flutty_tables/example for a small demo app.
API Documentation
See the API docs for full documentation.
Libraries
- flutty_tables
- Advanced table components for Flutter.
- row/expanded_row_table_element
- row/static_row_table_element
- table/expandable_row_table
- table/expandable_row_table_card
- table/static_row_table
- table/static_row_table_card