Skip to content

Flutter table but columns are mergable!

License

Notifications You must be signed in to change notification settings

sungaoyong/merge_table

 
 

Repository files navigation

image

dependencies:
  # ...
  merge_table:
    git:
      url: https://github.com/juniorise/merge_table.git
      ref: 1.0.1
MergeTable(
  borderColor: Colors.black,
  alignment: MergeTableAlignment.center,
  columns: [
    MColumn(header: "Pump"),
    MColumn(header: "Product"),
    MColumn(header: "Seal"),
    MMergedColumns(
      header: "Reading",
      columns: ["Before", "Then", "After"],
    ),
    MColumn(header: "Write"),
  ],
  rows: [
    [
      MRow(const Text("1")),
      MRow(const Text("2")),
      MRow(const Text("3")),
      MMergedRows([
        const Text("4"),
        const Text("5"),
        const Text("8"),
      ]),
      MRow(const Text("6")),
    ],
    [
      MRow(const Text("1")),
      MRow(const Text("2")),
      MRow(const Text("3")),
      MMergedRows([
        const Text("4"),
        const Text("5"),
        const Text("8"),
      ]),
      MRow(const Text("6")),
    ],
  ],
)

About

Flutter table but columns are mergable!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 42.8%
  • Dart 23.7%
  • CMake 20.2%
  • HTML 10.0%
  • C 1.9%
  • Swift 1.0%
  • Other 0.4%