-
Notifications
You must be signed in to change notification settings - Fork 82
Validator message alignment issue #99
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I'm using BoxLooseDecoration in PinInputTextFormField, and when validator added it look like this
PinInputTextFormField(
pinLength: 4,
decoration: BoxLooseDecoration(
radius: const Radius.circular(0),
gapSpace: 40,
strokeColorBuilder: PinListenColorBuilder(
Palette.primary,
Palette.grey.withOpacity(0.6),
),
obscureStyle: ObscureStyle(
isTextObscure: true,
obscureText: '●',
)),
onChanged: (value) {
debugPrint('onChanged OTP $value');
},
validator: (value) {
if ((value?.isEmpty ?? true) || (value?.length ?? 0) < 4) {
return "OTP is required";
}
return null;
},
onSubmit: (value) {
},
),
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
