FPCWhiteCodeField constructor

const FPCWhiteCodeField({
  1. Key? key,
  2. TextEditingController? controller,
  3. StreamController<bool>? errorController,
  4. FocusNode? focusNode,
  5. required int length,
  6. double? itemHeight,
  7. double? itemWidth,
  8. TextStyle? itemStyle,
  9. BorderRadius? borderRadius,
  10. double? borderWidth,
  11. double? horizontalInterval,
  12. void onChanged(
    1. String
    )?,
  13. void onCompleted(
    1. String
    )?,
  14. bool isAutofocus = false,
  15. bool isShowCursor = false,
  16. bool isDisabled = false,
  17. Color? disabledColor,
})

Implementation

const FPCWhiteCodeField({
  super.key,
  this.controller,
  this.errorController,
  this.focusNode,
  required this.length,
  this.itemHeight,
  this.itemWidth,
  this.itemStyle,
  this.borderRadius,
  this.borderWidth,
  this.horizontalInterval,
  this.onChanged,
  this.onCompleted,
  this.isAutofocus = false,
  this.isShowCursor = false,
  this.isDisabled = false,
  this.disabledColor,
});