TreeViewTheme constructor

const TreeViewTheme({
  1. Color lineColor = Colors.grey,
  2. LineStyle lineStyle = LineStyle.connected,
  3. double lineThickness = 2.0,
  4. double indent = 40.0,
  5. bool roundLineCorners = false,
})

Creates a TreeViewTheme.

Implementation

const TreeViewTheme({
  this.lineColor = Colors.grey,
  this.lineStyle = LineStyle.connected,
  this.lineThickness = 2.0,
  this.indent = 40.0,
  this.roundLineCorners = false,
}) : assert(
        indent >= lineThickness,
        'The indent must not be less than lineThickness',
      );