Open mohammedali933 opened 5 years ago
@mohammedali933 I think it isn't a big deal. I found a solution for the text direction:
String msg='خطأ لا يوجد اختيار';
String details = 'برجاء اختيار دواء من القائمة او اختيار (دوائي ليس مدرح في حالة عدم وجود الدواء)';
void showInfoFlushbar(BuildContext context) {
Flushbar(
titleText: Text(msg , textAlign: TextAlign.right,style: TextStyle(color: Colors.white,fontSize: 20),),
messageText: Text(details , textAlign: TextAlign.right,style: TextStyle(color: Colors.white,fontSize: 16),),
icon: Icon(
Icons.info_outline,
size: 28,
color: Colors.blue.shade300,
),
leftBarIndicatorColor: Colors.blue.shade300,
duration: Duration(seconds: 3),
)..show(context);
}
it Doesnt Support RTL alignment Could you please add rtl direction for the whole flushbar ?.