getDefaultStyle method
AntdEllipsisStyle
getDefaultStyle(
- BuildContext context,
- AntdTheme theme,
- AntdMapToken token
override
Implementation
@override
AntdEllipsisStyle getDefaultStyle(
BuildContext context, AntdTheme theme, AntdMapToken token) {
var textStyle = token.font.ms;
return AntdEllipsisStyle(
textStyle: textStyle,
expandStyle: textStyle.copyWith(color: token.colorPrimary),
collapseStyle: textStyle.copyWith(color: token.colorPrimary));
}