bug fixed

This commit is contained in:
nutchayut
2025-01-31 18:09:31 +07:00
parent 50fb227c52
commit 16c55eba77

View File

@@ -391,32 +391,34 @@ class _RegisterDataState extends State<RegisterData> {
Column( Column(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
Text( Row(
isPassport? "English name_passport".tr(): "English name".tr(), children: [
Text(
isPassport? "English name_passport".tr(): "English name".tr(),
style: GoogleFonts.kanit(
color: Color(0xff565656),
fontSize: 15,
),
),Spacer()
],
),
TextField(
style: GoogleFonts.kanit( style: GoogleFonts.kanit(
color: Color(0xff565656), color: Color(0xff565656),
fontSize: 15, fontSize: 14,
), ),
), inputFormatters: <TextInputFormatter>[FilteringTextInputFormatter.allow(RegExp('[a-z A-Z]'))],
Expanded( keyboardType: TextInputType.text,
child: TextField( textAlign: TextAlign.right,
style: GoogleFonts.kanit( controller: nameEnEditText,
color: Color(0xff565656), decoration: InputDecoration(
fontSize: 14, hintText: '',
), suffixIcon: Icon(
inputFormatters: <TextInputFormatter>[FilteringTextInputFormatter.allow(RegExp('[a-z A-Z]'))], Icons.arrow_forward_ios_rounded,
keyboardType: TextInputType.text, size: 15,
textAlign: TextAlign.right, color: Colors.grey,
controller: nameEnEditText,
decoration: InputDecoration(
hintText: '',
suffixIcon: Icon(
Icons.arrow_forward_ios_rounded,
size: 15,
color: Colors.grey,
),
border: InputBorder.none,
), ),
border: InputBorder.none,
), ),
), ),
// Expanded( // Expanded(