TreeViewTheme constructor

const TreeViewTheme({
  1. double indentation = 20.0,
  2. double iconSize = 16.0,
  3. Color selectionColor = const Color(0x1A2196F3),
  4. ExpanderType expanderType = ExpanderType.triangle,
  5. bool showLines = true,
  6. Color? lineColor,
  7. Color? textColor,
  8. Color? iconColor,
})

Implementation

const TreeViewTheme({
  this.indentation = 20.0,
  this.iconSize = 16.0,
  this.selectionColor =
      const Color(0x1A2196F3), // Light blue with 10% opacity
  this.expanderType = ExpanderType.triangle,
  this.showLines = true,
  this.lineColor,
  this.textColor,
  this.iconColor,
});