Hot fix font mailbox on arabic language
(cherry picked from commit 6fc90babffb7e87e0d30038fca1f2afa59f538c2)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
import 'package:core/presentation/extensions/string_extension.dart';
|
||||
import 'package:core/presentation/utils/style_utils.dart';
|
||||
import 'package:core/utils/direction_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class TextOverflowBuilder extends StatelessWidget {
|
||||
@@ -26,7 +27,9 @@ class TextOverflowBuilder extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Text(
|
||||
data.overflow,
|
||||
DirectionUtils.isDirectionRTLByLanguage(context)
|
||||
? data
|
||||
: data.overflow,
|
||||
style: style,
|
||||
textAlign: textAlign,
|
||||
softWrap: softWrap,
|
||||
|
||||
Reference in New Issue
Block a user