TreeViewTheme constructor

const TreeViewTheme({
  1. ColorScheme colorScheme = const ColorScheme.light(),
  2. IconThemeData iconTheme = const IconThemeData.fallback(),
  3. ExpanderThemeData expanderTheme = const ExpanderThemeData.fallback(),
  4. TextStyle labelStyle = const TextStyle(),
  5. TextStyle parentLabelStyle = const TextStyle(fontWeight: FontWeight.bold),
  6. TextOverflow? labelOverflow,
  7. TextOverflow? parentLabelOverflow,
  8. double levelPadding = _kDefaultLevelPadding,
  9. bool dense = true,
  10. double? verticalSpacing,
  11. double? horizontalSpacing,
  12. double iconPadding = 8,
  13. Duration expandSpeed = const Duration(milliseconds: _kExpandSpeed),
})

Implementation

const TreeViewTheme({
  this.colorScheme: const ColorScheme.light(),
  this.iconTheme: const IconThemeData.fallback(),
  this.expanderTheme: const ExpanderThemeData.fallback(),
  this.labelStyle: const TextStyle(),
  this.parentLabelStyle: const TextStyle(fontWeight: FontWeight.bold),
  this.labelOverflow,
  this.parentLabelOverflow,
  this.levelPadding: _kDefaultLevelPadding,
  this.dense: true,
  this.verticalSpacing,
  this.horizontalSpacing,
  this.iconPadding: 8,
  this.expandSpeed: const Duration(milliseconds: _kExpandSpeed),
});