dynamic_row_table 1.0.0 copy "dynamic_row_table: ^1.0.0" to clipboard
dynamic_row_table: ^1.0.0 copied to clipboard

A Flutter widget for building dynamic tables with multiple lines per cell.

README.md #

Dynamic Row Table #

A Flutter widget for building dynamic tables with multiple lines per cell. This package allows you to create flexible and customizable tables where each cell can contain multiple lines of data.

Features #

  • Customizable table with multiple lines per cell.
  • Supports dynamic row and column counts.
  • Easily configurable styles.
  • Lightweight and efficient.

Installation #

Add the following to your pubspec.yaml:

dependencies:
  dynamic_row_table: ^1.0.0

Then run:

flutter pub get

Usage #

Import the package:

import 'package:dynamic_row_table/dynamic_row_table.dart';

Example #

DynamicRowTableWidget(
  firstIsPrefix: false,
  mainContainerFlex: 1,
  rows: [
    DynamicTableRow(children: [
      const TableRowChild(
        color: Colors.blue,
        alignment: Alignment.centerLeft,
        tableRowCellChildren: [CellText(text: "Name")],
      ),
      TableRowChild(
        color: Colors.blue.shade100,
        alignment: Alignment.centerRight,
        tableRowCellChildren: const [CellText(text: "John Doe")],
      )
    ]),
  ],
)

Contribution #

Feel free to open an issue or submit a pull request if you'd like to contribute!

1
likes
160
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget for building dynamic tables with multiple lines per cell.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

equatable, flutter

More

Packages that depend on dynamic_row_table