TD constructor

const TD(
  1. Widget child, {
  2. Key? key,
  3. EdgeInsets padding = const EdgeInsets.all(8.0),
  4. Color? color,
  5. TRStyle style = TRStyle.normal,
})

Creates a table cell with required child content.

padding defaults to 8.0 on all sides for comfortable spacing. color sets background; style determines text muting and padding adjustments. Use in TR.column lists for row construction.

Implementation

const TD(this.child,
    {super.key,
    this.padding = const EdgeInsets.all(8.0),
    this.color,
    this.style = TRStyle.normal});