TencentCloudWhiteboardTools constructor
const
TencentCloudWhiteboardTools({
- Key? key,
- required TencentCloudWhiteboardController whiteboardController,
- required TencentCloudWhiteboardToolsController toolsController,
- EdgeInsetsGeometry? contentPadding,
- EdgeInsetsGeometry? toolsItemPadding,
- Size? toolsItemSize,
- EdgeInsetsGeometry? collapseItemPadding,
- Size? collapseIconSize,
- Color? backgroundColor,
- Color? activeColor,
- Color? iconColor,
- Color? collapsedBackgroundColor,
- Color? collapsedIconColor,
- Color? expandedBackgroundColor,
- Color? highlightedBackgroundColor,
- Color? highlightedIconColor,
- Color? normalIconColor,
- Color? collapseIconColor,
- Color? brushPanelBackgroundColor,
- Color? brushPanelActiveColor,
- Color? brushPanelTextColor,
Implementation
const TencentCloudWhiteboardTools({
super.key,
required this.whiteboardController,
required this.toolsController, // 添加新控制器参数
this.contentPadding,
this.toolsItemPadding,
this.toolsItemSize,
this.collapseItemPadding,
this.collapseIconSize,
this.backgroundColor,
this.activeColor,
this.iconColor,
this.collapsedBackgroundColor,
this.collapsedIconColor,
this.expandedBackgroundColor,
this.highlightedBackgroundColor,
this.highlightedIconColor,
this.normalIconColor,
this.collapseIconColor,
this.brushPanelBackgroundColor,
this.brushPanelActiveColor,
this.brushPanelTextColor,
});