EditingFieldStyle constructor
EditingFieldStyle({
- double textFieldHeight = 30,
- double textFieldWidth = double.infinity,
- double cursorHeight = 20,
- double cursorWidth = 2.0,
- Radius? cursorRadius,
- Color? cursorColor,
- TextAlignVertical? verticalTextAlign,
- TextStyle? textStyle,
- InputDecoration textfieldDecoration = const InputDecoration(),
- dynamic folderIcon = const Icon(Icons.folder),
- dynamic fileIcon = const Icon(Icons.edit_document),
- dynamic doneIcon = const Icon(Icons.check),
- dynamic cancelIcon = const Icon(Icons.close),
Custom styling for the TextField for creating files/folders.
Implementation
EditingFieldStyle(
{this.textFieldHeight = 30,
this.textFieldWidth = double.infinity,
this.cursorHeight = 20,
this.cursorWidth = 2.0,
this.cursorRadius,
this.cursorColor,
this.verticalTextAlign,
this.textStyle,
this.textfieldDecoration = const InputDecoration(),
this.folderIcon = const Icon(Icons.folder),
this.fileIcon = const Icon(Icons.edit_document),
this.doneIcon = const Icon(Icons.check),
this.cancelIcon = const Icon(Icons.close)});