VerificationCode constructor

const VerificationCode({
  1. Key? key,
  2. required ValueChanged<String> onCompleted,
  3. required ValueChanged<bool> onEditing,
  4. TextInputType keyboardType = TextInputType.number,
  5. int length = 4,
  6. Color? cursorColor,
  7. double itemSize = 50,
  8. Color? underlineColor,
  9. Color? underlineUnfocusedColor,
  10. bool fullBorder = false,
  11. Color? fillColor,
  12. double? underlineWidth,
  13. TextStyle textStyle = const TextStyle(fontSize: 25.0),
  14. bool autofocus = false,
  15. Widget? clearAll,
  16. Stream<bool>? pasteStream,
  17. bool isSecure = false,
  18. bool digitsOnly = false,
  19. EdgeInsets margin = EdgeInsets.zero,
  20. EdgeInsets? padding,
})

Implementation

const VerificationCode({
  Key? key,
  required this.onCompleted,
  required this.onEditing,
  this.keyboardType = TextInputType.number,
  this.length = 4,
  this.cursorColor,
  this.itemSize = 50,
  this.underlineColor,
  this.underlineUnfocusedColor,
  this.fullBorder = false,
  this.fillColor,
  this.underlineWidth,
  this.textStyle = const TextStyle(fontSize: 25.0),
  this.autofocus = false,
  this.clearAll,
  this.pasteStream,
  this.isSecure = false,
  this.digitsOnly = false,
  this.margin = EdgeInsets.zero,
  this.padding,
}) : super(key: key);