TextFieldCell constructor
TextFieldCell({
- Key? key,
- TextEditingController? controller,
- String initialValue = '',
- ValueChanged<
String> ? onChanged, - double? cellWidth,
- double? cellHeight,
- double? textSize,
- AlignmentGeometry? textAlignment = Alignment.center,
- Color? backgroundColor = Colors.white,
- Color? textColor = Colors.black,
- Color? borderColor = Colors.black12,
- bool isBold = false,
- InputDecoration? decoration,
Implementation
TextFieldCell({
super.key,
TextEditingController? controller,
String initialValue = '',
this.onChanged,
this.cellWidth,
this.cellHeight,
this.textSize,
this.textAlignment = Alignment.center,
this.backgroundColor = Colors.white,
this.textColor = Colors.black,
this.borderColor = Colors.black12,
this.isBold = false,
this.decoration,
}) : controller = controller ?? TextEditingController(text: initialValue);