components/otp_field library
Functions
-
otpTextField(
{int length = 4, bool autoFocus = false, TextEditingController? controller, MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceBetween, String? hintCharacter, void onCompleted(String)?, double borderRadius = 8, PinCodeFieldShape shape = PinCodeFieldShape.box, EdgeInsetsGeometry? fieldOuterPadding, double fieldHeight = 64, double fieldWidth = 60, Color? fillColor, Color? borderColor}) → Widget