const
EditorDecoration(- {BoxBorder? border,
- BorderRadiusGeometry? borderRadius,
- String? editorLabel,
- Color backgroundColor = Colors.white,
- Color cursorColor = Colors.black,
- TextStyle inputStyle = TextConstants.labelStyle,
- TextStyle labelStyle = TextConstants.labelStyle,
- TextStyle focusedLabelStyle = TextConstants.labelStyle,
- Color buttonColor = TextConstants.defaultColor,
- double buttonEditorSpacing = 4,
- double editorPreviewSpacing = 8,
- 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,
});