TogePinWidget constructor
const
TogePinWidget({
- Key? key,
- bool isLoading = false,
- bool autoFocus = false,
- TextEditingController? controller,
- FocusNode? focusNode,
- String? pinLabel,
- String? errorMessage,
- int pinLength = 6,
- String maskChar = '•',
- bool isDisabled = false,
- Duration maskDelay = const Duration(seconds: 1),
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - TextInputAction? textInputAction,
- TextCapitalization? textCapitalization,
- VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - VoidCallback? onTap,
- ValueChanged<
String> ? onChanged, - dynamic onComplete(
- String value
Implementation
const TogePinWidget({
super.key,
this.isLoading = false,
this.autoFocus = false,
this.controller,
this.focusNode,
this.pinLabel,
this.errorMessage,
this.pinLength = 6,
this.maskChar = '•',
this.isDisabled = false,
this.maskDelay = const Duration(seconds: 1),
this.keyboardType,
this.inputFormatters,
this.textInputAction,
this.textCapitalization,
this.onEditingComplete,
this.onSubmitted,
this.onTap,
this.onChanged,
this.onComplete,
});