TextFieldCell constructor

TextFieldCell({
  1. Key? key,
  2. TextEditingController? controller,
  3. String initialValue = '',
  4. ValueChanged<String>? onChanged,
  5. double? cellWidth,
  6. double? cellHeight,
  7. double? textSize,
  8. AlignmentGeometry? textAlignment = Alignment.center,
  9. Color? backgroundColor,
  10. Color? textColor = Colors.black,
  11. Color? borderColor,
  12. bool isBold = false,
  13. InputDecoration? decoration,
  14. TextInputType? keyboardType,
  15. List<TextInputFormatter>? inputFormatters,
  16. String? errorText,
  17. bool isOverridden = false,
  18. String? overrideMessage,
})

Creates a TextFieldCell.

Implementation

TextFieldCell({
  super.key,
  TextEditingController? controller,
  String initialValue = '',
  this.onChanged,
  this.cellWidth,
  this.cellHeight,
  this.textSize,
  this.textAlignment = Alignment.center,
  this.backgroundColor,
  this.textColor = Colors.black,
  this.borderColor,
  this.isBold = false,
  this.decoration,
  this.keyboardType,
  this.inputFormatters,
  this.errorText,
  this.isOverridden = false,
  this.overrideMessage,
}) : controller = controller ?? TextEditingController(text: initialValue);