getDefaultStyle method

  1. @override
AntdEllipsisStyle getDefaultStyle(
  1. BuildContext context,
  2. AntdTheme theme,
  3. 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));
}