display long error message in two line

This commit is contained in:
hannathkadher
2024-09-19 13:11:04 +04:00
parent 26833cf215
commit af31d33778

View File

@ -160,7 +160,9 @@ class SignUpView extends StatelessWidget {
},
obscureText: !AuthCubit.get(context).isPasswordVisible,
decoration: defaultInputDecoration(context,
hint: "At least 8 characters"),
hint: "At least 8 characters").copyWith(
errorMaxLines: 2,
),
),
const SizedBox(height: 16),
const BodyMedium(