FxPinInputField constructor

const FxPinInputField({
  1. Key? key,
  2. required TextEditingController controller,
  3. required FocusNode focusNode,
  4. required ValueChanged<String> onChanged,
  5. bool obscureText = false,
  6. bool enabled = true,
  7. bool hasError = false,
  8. FxPinInputTheme inputTheme = const FxPinInputTheme(),
  9. VoidCallback? onBackspace,
  10. VoidCallback? onTap,
  11. int pasteLength = 1,
})

Implementation

const FxPinInputField({
  super.key,
  required this.controller,
  required this.focusNode,
  required this.onChanged,
  this.obscureText = false,
  this.enabled = true,
  this.hasError = false,
  this.inputTheme = const FxPinInputTheme(),
  this.onBackspace,
  this.onTap,
  this.pasteLength = 1,
});