TD constructor
const
TD(
- Widget child, {
- Key? key,
- EdgeInsets padding = const EdgeInsets.all(8.0),
- Color? color,
- 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});