Support RTL mode for alignment mailbox view

(cherry picked from commit 9136f16236305ef65ebbc3c0415e7ffdc637bef7)
This commit is contained in:
dab246
2023-06-15 15:06:17 +07:00
committed by Dat H. Pham
parent 96145aae7a
commit b7a4e3f585
14 changed files with 198 additions and 291 deletions
@@ -18,8 +18,8 @@ class SloganBuilder extends StatelessWidget {
final String? logo;
final double? sizeLogo;
final OnTapCallback? onTapCallback;
final EdgeInsets? paddingText;
final EdgeInsets? padding;
final EdgeInsetsGeometry? paddingText;
final EdgeInsetsGeometry? padding;
final bool enableOverflow;
final Color? hoverColor;
final double? hoverRadius;
@@ -55,7 +55,7 @@ class SloganBuilder extends StatelessWidget {
child: Column(children: [
_logoApp(),
Padding(
padding: paddingText ?? const EdgeInsets.only(top: 16, left: 16, right: 16),
padding: paddingText ?? const EdgeInsetsDirectional.only(top: 16, start: 16, end: 16),
child: Text(
text ?? '',
style: textStyle,