CollapsibleItemWidget constructor
const
CollapsibleItemWidget({
- required MouseCursor onHoverPointer,
- required Widget leading,
- required String title,
- required TextStyle textStyle,
- required double padding,
- required double offsetX,
- required double scale,
- bool? isCollapsed,
- bool? isSelected,
- double? minWidth,
- VoidCallback? onTap,
- List<
CollapsibleItem> ? subItems, - VoidCallback? onLongPress,
- double? iconSize,
- Color? iconColor,
- bool? parentComponent,
Implementation
const CollapsibleItemWidget({
required this.onHoverPointer,
required this.leading,
required this.title,
required this.textStyle,
required this.padding,
required this.offsetX,
required this.scale,
this.isCollapsed,
this.isSelected,
this.minWidth,
this.onTap,
this.subItems,
this.onLongPress,
this.iconSize,
this.iconColor,
this.parentComponent,
});