AntdEllipsis constructor
const
AntdEllipsis({
- Key? key,
- AntdEllipsisStyle? style,
- AntdStyleBuilder<
AntdEllipsisStyle, AntdEllipsis> ? styleBuilder, - required String content,
- String collapseText = "收起",
- String expandText = "展开",
- VoidCallback? onTextTap,
- VoidCallback? onExpandTap,
- VoidCallback? onCollapseTap,
- bool defaultExpanded = false,
- int rows = 1,
Implementation
const AntdEllipsis({
super.key,
super.style,
super.styleBuilder,
required this.content,
this.collapseText = "收起",
this.expandText = "展开",
this.onTextTap,
this.onExpandTap,
this.onCollapseTap,
this.defaultExpanded = false,
this.rows = 1,
});