Skip to content

Flutty-Lab/flutty_tables

Repository files navigation

flutty_tables

pub package pub points likes

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.

About

flutter tables package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages