getDefaultStyle method

  1. @override
AntdTourStepStyle getDefaultStyle(
  1. BuildContext context,
  2. AntdTheme theme,
  3. AntdMapToken token
)
override

Implementation

@override
AntdTourStepStyle getDefaultStyle(
    BuildContext context, AntdTheme theme, AntdMapToken token) {
  return AntdTourStepStyle(
      bodyStyle: const AntdBoxStyle(),
      arrowStyle: AntdArrowStyle(color: token.colorBgContainer),
      skipStyle: AntdBoxStyle(
          textStyle:
              token.font.sm.copyWith(color: token.colorText.quaternary)),
      nextStyle: AntdBoxStyle(
          textStyle: token.font.sm.copyWith(color: token.colorPrimary),
          padding: token.size.xxl.left),
      titleStyle: const AntdBoxStyle(),
      descriptionStyle: AntdBoxStyle(
          padding: token.size.sm.vertical,
          textStyle:
              token.font.sm.copyWith(color: token.colorText.secondary)),
      titleColumnStyle:
          const AntdFlexStyle(crossAxisAlignment: CrossAxisAlignment.start),
      contentStyle: AntdBoxStyle(
          padding: token.size.md.all,
          color: token.colorBgContainer,
          radius: token.radius.all),
      holdPadding: token.size.md.all,
      holdRadius: token.radius.seed);
}