TreeCell constructor
const
TreeCell({
- Key? key,
- required dynamic value,
- required double width,
- double? height,
- required int depth,
- required bool hasChildren,
- required bool isExpanded,
- VoidCallback? onToggleExpand,
- required Color backgroundColor,
- required Color textColor,
- required Color borderColor,
- bool isSelected = false,
- bool isTotalRow = false,
- Color? accentColor,
- bool supportsDrillDown = false,
- bool showDrillDownIcon = true,
- VoidCallback? onDrillDown,
- bool isReadOnly = false,
- bool enableLineHeightAdjustment = false,
- CellHighlightConfig? highlight,
- CellBorders? highlightBorders,
- bool wordWrap = true,
Implementation
const TreeCell({
super.key,
required this.value,
required this.width,
this.height, // Optional height
required this.depth,
required this.hasChildren,
required this.isExpanded,
this.onToggleExpand,
required this.backgroundColor,
required this.textColor,
required this.borderColor,
this.isSelected = false,
this.isTotalRow = false,
this.accentColor,
this.supportsDrillDown = false,
this.showDrillDownIcon = true,
this.onDrillDown,
this.isReadOnly = false,
this.enableLineHeightAdjustment = false,
this.highlight,
this.highlightBorders,
this.wordWrap = true,
});