ChildNodeTheme<T> constructor
const
ChildNodeTheme<T> ({
- Widget? widget,
- Widget? widgetResolver(
- Node<
T> node
- Node<
- double width = 20.0,
- double height = 20.0,
- EdgeInsets padding = EdgeInsets.zero,
- EdgeInsets margin = EdgeInsets.zero,
- TextStyle? textStyle,
- TextStyle? textStyleResolver(
- Node<
T> node
- Node<
- String? labelResolver(
- Node<
T> node
- Node<
- TextStyle? selectedTextStyle,
- TextStyle? selectedTextStyleResolver(
- Node<
T> node
- Node<
- Color? selectedBackgroundColor,
- Color? hoverColor,
- Color? splashColor,
- Color? highlightColor,
- int clickInterval = 300,
- 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,
});