flutty_tables 0.1.0 copy "flutty_tables: ^0.1.0" to clipboard
flutty_tables: ^0.1.0 copied to clipboard

Advanced table components for Flutter with sorting, filtering and pagination.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutty_tables/flutty_tables.dart';

void main() {
  runApp(const FluttyTablesExample());
}

class FluttyTablesExample extends StatelessWidget {
  const FluttyTablesExample({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutty Tables Example',
      home: Scaffold(
        appBar: AppBar(title: const Text('Flutty Tables')),
        body: FluttyTable<Map<String, String>>(
          columns: [
            FluttyColumn(
              title: 'Name',
              cellBuilder: (item) => Text(item['name'] ?? ''),
            ),
            FluttyColumn(
              title: 'Email',
              cellBuilder: (item) => Text(item['email'] ?? ''),
            ),
          ],
          rows: const [
            {'name': 'Alice', 'email': 'alice@example.com'},
            {'name': 'Bob', 'email': 'bob@example.com'},
          ],
        ),
      ),
    );
  }
}
2
likes
160
points
92
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Advanced table components for Flutter with sorting, filtering and pagination.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutty_ds

More

Packages that depend on flutty_tables