EditorDecoration constructor

const EditorDecoration({
  1. BoxBorder? border,
  2. BorderRadiusGeometry? borderRadius,
  3. String? editorLabel,
  4. Color backgroundColor = Colors.white,
  5. Color cursorColor = Colors.black,
  6. TextStyle inputStyle = TextConstants.labelStyle,
  7. TextStyle labelStyle = TextConstants.labelStyle,
  8. TextStyle focusedLabelStyle = TextConstants.labelStyle,
  9. Color buttonColor = TextConstants.defaultColor,
  10. double buttonEditorSpacing = 4,
  11. double editorPreviewSpacing = 8,
  12. int? maxLines,
})

Implementation

const EditorDecoration({
  this.border,
  this.borderRadius,
  this.editorLabel,
  this.backgroundColor = Colors.white,
  this.cursorColor = Colors.black,
  this.inputStyle = TextConstants.labelStyle,
  this.labelStyle = TextConstants.labelStyle,
  this.focusedLabelStyle = TextConstants.labelStyle,
  this.buttonColor = TextConstants.defaultColor,
  this.buttonEditorSpacing = 4,
  this.editorPreviewSpacing = 8,
  this.maxLines,
});