FluentText constructor
const
FluentText(
- String id, {
- Key? key,
- String? attribute,
- Map<
String, Object?> args = const {}, - Map<
String, FluentTagBuilder> tags = const {}, - Map<
String, TextStyle> styles = const {}, - void onUnknownTag(
- FluentMarkupSpan node
- TextStyle? style,
- TextAlign? textAlign,
- TextOverflow? overflow,
- int? maxLines,
- 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,
});