fix issues with text fields

merge-requests/936/head
Elham Rababh 3 years ago
parent 73cc5e4b00
commit 4dc93f7c31

@ -96,7 +96,7 @@ class _AppTextFieldCustomState extends State<AppTextFieldCustom> {
Container(
height: widget.height != 0 && widget.maxLines == 1
? widget.height + 8
: MediaQuery.of(context).size.height * 0.098,
: null,//MediaQuery.of(context).size.height * 0.098,
decoration: widget.hasBorder
? TextFieldsUtils.containerBorderDecoration(
Color(0Xffffffff),
@ -117,7 +117,7 @@ class _AppTextFieldCustomState extends State<AppTextFieldCustom> {
padding: widget.dropDownText == null
? widget.isSearchTextField
? EdgeInsets.only(top: 10)
: EdgeInsets.only(top: 7.5)
: EdgeInsets.only(top: 0.5)
: EdgeInsets.only(top: 0), // 8.0
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
@ -144,8 +144,7 @@ class _AppTextFieldCustomState extends State<AppTextFieldCustom> {
height:
widget.height != 0 && widget.maxLines == 1
? widget.height - 22
: MediaQuery.of(context).size.height *
0.045,
: null,
child: TextFormField(
textAlign: projectViewModel.isArabic
? TextAlign.right
@ -156,8 +155,7 @@ class _AppTextFieldCustomState extends State<AppTextFieldCustom> {
.textFieldSelectorDecoration(
widget.hintText, null, true),
style: TextStyle(
fontSize:
14.0, //SizeConfig.textMultiplier * 1.7,
fontSize: SizeConfig.textMultiplier * 1.7,
fontFamily: 'Poppins',
color: Color(0xFF575757),
fontWeight: FontWeight.w400,

Loading…
Cancel
Save