ReferenceMarkText constructor

ReferenceMarkText({
  1. required String text,
  2. TextStyle? textStyle = const TextStyle(color: Color(0xff333333), fontSize: 14),
  3. Color? markTextColor = const Color(0xe6333333),
  4. double? markTextSize = 12,
  5. double? lineSpacing = 2,
  6. OnReferenceWordCall? referenceWordCall,
  7. int? index,
  8. required String markText,
})

Implementation

ReferenceMarkText({
  required this.text,
  this.textStyle = const TextStyle(color: Color(0xff333333), fontSize: 14),
  this.markTextColor = const Color(0xe6333333),
  this.markTextSize = 12,
  this.lineSpacing = 2,
  this.referenceWordCall,
  this.index,
  required this.markText,
});