ElementTextField constructor
const
ElementTextField({
- Key? key,
- TextAlign? textAlign,
- int? maxLines,
- int? minLines,
- required ElementEditorController controller,
- required MeshElement element,
- required String attributeName,
- required TextStyle style,
- Color cursorColor = Colors.green,
- Color selectionColor = defaultSelectionColor,
- Color editingBackground = const Color.from(alpha: .1, red: 1, green: 1, blue: 1),
Implementation
const ElementTextField({
super.key,
this.textAlign,
this.maxLines,
this.minLines,
required this.controller,
required this.element,
required this.attributeName,
required this.style,
this.cursorColor = Colors.green,
this.selectionColor = defaultSelectionColor,
this.editingBackground = const Color.from(alpha: .1, red: 1, green: 1, blue: 1),
});