flutter_section_table_view 0.0.2
flutter_section_table_view: ^0.0.2 copied to clipboard

outdated

A iOS like table view including section, row, section header and divider

flutter_section_table_view #

A iOS like table view including section, row, section header and divider

Usage #

SectionTableView(
    sectionCount: 2,
    numOfRowInSection: (section) {
      return section == 0 ? 3 : 4;
    },
    cellAtIndexPath: (section, row) {
      return ListTile(
        leading: Text('Cell $section $row'),
      );
    },
    headerInSection: (section) {
      return Container(
        color: Colors.grey,
        child: Text('Header $section'),
      );
    },
    divider: Container(
      color: Colors.green,
      height: 0.5,
    ),
);

Getting Started #

For help getting started with Flutter, view our online documentation.

For help on editing package code, view the documentation.

7
likes
0
pub points
82%
popularity

A iOS like table view including section, row, section header and divider

Repository (GitHub)
View/report issues

Uploader

realank@gmail.com

Dependencies

flutter

More

Packages that depend on flutter_section_table_view