Text constructor
const
Text(})
Creates a Text widget to render styled text.
Implementation
const Text(
this.data, {
this.style = Style.empty,
this.wrap = true,
this.textAlign = TextAlign.left,
this.maxLines,
});
Creates a Text widget to render styled text.
const Text(
this.data, {
this.style = Style.empty,
this.wrap = true,
this.textAlign = TextAlign.left,
this.maxLines,
});