Skip to content
pubscout

flutter_html_table

3.0.0, released 2 years ago by sub6resources.com

Renders HTML table tags within the flutter_html package using flutter_layout_grid.

WASM-readyQuiet but busy
$ flutter pub add flutter_html_table
Source repository

What it does

This extension package allows the <table> tag to be rendered using the flutter_html package. It calculates the best fit for each element and sizes its cells accordingly, supporting Rowspans and colspans.

AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are already using flutter_html and need to render <table> tags.
  • You need table cells to span across multiple rows and columns.

Skip it when

  • You are not using the flutter_html package.
  • You need a standalone table widget independent of HTML rendering.

Strengths

  • Supports rowspans and colspans for complex table layouts.
  • Calculates optimal aspect ratios and cell sizes automatically.

Weaknesses

  • Requires flutter_html as a dependency.
  • Not documented for standalone use outside of flutter_html.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Register TableHtmlExtension inside the Html widget extensions parameter.

Widget html = Html(
  extensions: {
    TableHtmlExtension(),
  }
);

Alternatives

Packages that do the same job and could replace flutter_html_table.

Works with

Packages commonly used together with flutter_html_table: ones it builds on, ones built on it, and its own family.