EditingFieldStyle constructor

EditingFieldStyle({
  1. double textFieldHeight = 30,
  2. double textFieldWidth = double.infinity,
  3. double cursorHeight = 20,
  4. double cursorWidth = 2.0,
  5. Radius? cursorRadius,
  6. Color? cursorColor,
  7. TextAlignVertical? verticalTextAlign,
  8. TextStyle? textStyle,
  9. InputDecoration textfieldDecoration = const InputDecoration(),
  10. dynamic folderIcon = const Icon(Icons.folder),
  11. dynamic fileIcon = const Icon(Icons.edit_document),
  12. dynamic doneIcon = const Icon(Icons.check),
  13. 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),
});