SetBtn method
void
SetBtn()
Implementation
void SetBtn(){
ThemeChildBtn = Directionality(
textDirection:TextDirection.rtl,
child:Container(
width: MediaQuery.of(context).size.width,
height: 55,
child: Padding(
padding: const EdgeInsets.only(left: 16, right: 11),
child: Row(
mainAxisAlignment: MainAxisAlignment.end,
children: <Widget> [
Icon(Icons.language,color:ImpactPrimaryColor),
SizedBox(width:10,),
Expanded(
child:Text(
(ImpactSelectedLang==null || ImpactSelectedLang=="")?"اختيار":ImpactSelectedLang.toString(),
style:TextStyle(
color:ImpactPrimaryColor
),
overflow: TextOverflow.ellipsis
),
),
SizedBox(
width: 22,
height: 27,
child: FittedBox(
fit: BoxFit.fill,
child: Icon(
Icons.arrow_drop_down,
color: ImpactPrimaryColor,
),
),
),
],
),
),
),
);
}