Advanced table components for Flutter with sorting, filtering and pagination.
dependencies:
flutty_tables: ^0.1.1import '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')],
),
],
);See packages/flutty_tables/example for a small demo app.
See the API docs for full documentation.