FluentText constructor

const FluentText(
  1. String id, {
  2. Key? key,
  3. String? attribute,
  4. Map<String, Object?> args = const {},
  5. Map<String, FluentTagBuilder> tags = const {},
  6. Map<String, TextStyle> styles = const {},
  7. void onUnknownTag(
    1. FluentMarkupSpan node
    )?,
  8. TextStyle? style,
  9. TextAlign? textAlign,
  10. TextOverflow? overflow,
  11. int? maxLines,
  12. bool? softWrap,
})

Renders the message id (or its attribute).

Implementation

const FluentText(
  this.id, {
  super.key,
  this.attribute,
  this.args = const {},
  this.tags = const {},
  this.styles = const {},
  this.onUnknownTag,
  this.style,
  this.textAlign,
  this.overflow,
  this.maxLines,
  this.softWrap,
});