getDefaultStyle method

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

Implementation

@override
AntdFloatingPanelStyle getDefaultStyle(
    BuildContext context, AntdTheme theme, AntdMapToken token) {
  return AntdFloatingPanelStyle(
      bodyStyle: AntdBoxStyle(radius: token.radius.all),
      headerStyle: AntdBoxStyle(
          alignment: Alignment.center,
          color: token.colorBgContainer,
          padding: token.size.lg.vertical),
      indicatorStyle: AntdBoxStyle(
          radius: token.radius.all,
          height: 4,
          width: 20,
          color: token.colorFill));
}