NBText constructor Null safety
The NBText widget displays a string of text with single style. The string might break across multiple lines or might all be displayed on the same line depending on the layout constraints.
Implementation
const NBText({
this.fontFamily,
this.fontSize,
this.fontStyle,
this.fontWeight,
this.letterSpacing,
this.lineHeight,
this.textAlign,
this.textDecoration,
this.textTransform,
super.key,
required this.text,
this.color,
});