getBackButton method

Widget? getBackButton()

Implementation

Widget? getBackButton() {
  return (style.style == TUIOverlayMobileStyleType.left)
      ? SizedBox(
          width: TUIIconButtonSize.px40.iconSize,
          child: Center(
            child: TUIIconButton(
              type: TUIIconButtonType.ghost,
              size: TUIIconButtonSize.px40,
              iconData: FluentIcons.chevron_left_20_regular,
              onPressed: style.action,
            ),
          ),
        )
      : null;
}