Skip to content

Table

Data tables with sorting and filtering.

Installation

bash
flutter_studio add table
bash
flutter pub add flutter_studio

Usage

dart
CustomTable(
  columns: [
    TableColumn(label: 'Name', key: 'name'),
    TableColumn(label: 'Email', key: 'email'),
    TableColumn(label: 'Status', key: 'status'),
  ],
  rows: [
    {'name': 'John Doe', 'email': 'john@example.com', 'status': 'Active'},
    {'name': 'Jane Smith', 'email': 'jane@example.com', 'status': 'Inactive'},
  ],
)

API Reference

Properties

PropertyTypeDefaultDescription
columnsListrequiredTable columns
rowsListrequiredTable data rows