CustomStyledTextAdvance constructor

CustomStyledTextAdvance({
  1. Key? key,
  2. bool newLineAsBreaks = true,
  3. required String text,
  4. Map<String, StyledTextAdvanceTagBase> tags = const {},
  5. TextStyle? style,
  6. required StyledTextAdvanceWidgetBuilderCallback builder,
})

Create a CustomStyledTextAdvance with your own builder function.

This way you can manage the resulting TextSpan by yourself.

Implementation

CustomStyledTextAdvance({
  super.key,
  this.newLineAsBreaks = true,
  required this.text,
  this.tags = const {},
  this.style,
  required this.builder,
});