ChildNodeTheme<T> constructor

const ChildNodeTheme<T>({
  1. Widget? widget,
  2. Widget? widgetResolver(
    1. Node<T> node
    )?,
  3. double width = 20.0,
  4. double height = 20.0,
  5. EdgeInsets padding = EdgeInsets.zero,
  6. EdgeInsets margin = EdgeInsets.zero,
  7. TextStyle? textStyle,
  8. TextStyle? textStyleResolver(
    1. Node<T> node
    )?,
  9. String? labelResolver(
    1. Node<T> node
    )?,
  10. TextStyle? selectedTextStyle,
  11. TextStyle? selectedTextStyleResolver(
    1. Node<T> node
    )?,
  12. Color? selectedBackgroundColor,
  13. Color? hoverColor,
  14. Color? splashColor,
  15. Color? highlightColor,
  16. int clickInterval = 300,
  17. NodeTooltipTheme<T>? tooltipTheme,
})

Creates a ChildNodeTheme

Implementation

const ChildNodeTheme({
  this.widget,
  this.widgetResolver,
  this.width = 20.0,
  this.height = 20.0,
  this.padding = EdgeInsets.zero,
  this.margin = EdgeInsets.zero,
  this.textStyle,
  this.textStyleResolver,
  this.labelResolver,
  this.selectedTextStyle,
  this.selectedTextStyleResolver,
  this.selectedBackgroundColor,
  this.hoverColor,
  this.splashColor,
  this.highlightColor,
  this.clickInterval = 300,
  this.tooltipTheme,
});