RichTextEditor constructor
const
RichTextEditor({
- Key? key,
- Color? backgroundColor,
- EdgeInsetsGeometry? padding,
- String? hint,
- Color? cursorColor,
- Color? toolBarColor,
- required dynamic buildCall(
- RichTextModel? richTextModel
- dynamic imageCall()?,
- String? initialize,
- bool readOnly = false,
- dynamic removeImageCall(
- String imageUrl
- Widget customHeaderView()?,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.start,
- BorderRadiusGeometry? borderRadius,
- BoxBorder? border,
- Color? textColor,
- double textSize = 14,
- Color? placeHolderColor = const Color(0x333B372C),
- double placeHolderTextSize = 14,
Implementation
const RichTextEditor({
Key? key,
this.backgroundColor,
this.padding,
this.hint,
this.cursorColor,
this.toolBarColor,
required this.buildCall,
this.imageCall,
this.initialize,
this.readOnly = false,
this.removeImageCall,
this.customHeaderView,
this.crossAxisAlignment = CrossAxisAlignment.start,
this.borderRadius,
this.border,
this.textColor,
this.textSize = 14,
this.placeHolderColor = const Color(0x333B372C),
this.placeHolderTextSize = 14,
}) : super(key: key);