OTPTextFieldFastor constructor
OTPTextFieldFastor({
- required int countNumber,
- required ValueChanged<
String> onChangeCode, - required ValueChanged<
bool> onComplete, - double? widthOTP,
- double? heightByPadding,
- double? margin,
- Color? colorText,
- String? fontFamily,
- double? fontSize,
- Decoration? decoration,
Implementation
OTPTextFieldFastor( {
required this.countNumber,
required ValueChanged<String> this.onChangeCode,
required ValueChanged<bool> this.onComplete,
this.widthOTP,
this.heightByPadding,
this.margin,
this.colorText,
// this.colorHint,
this.fontFamily,
this.fontSize,
this.decoration
}) {
widthOTP ??= 40;
heightByPadding ??= 9;
margin ??= 5;
colorHint = colorText;
}