build abstract method

Widget build(
  1. String text, {
  2. TextStyle? style,
  3. TextAlign? textAlign,
  4. TextDirection? textDirection,
  5. int? maxLines,
  6. TextOverflow? overflow,
})

Renders the text with the applied effect.

text - The text to render style - The base text style textAlign - Text alignment textDirection - Text direction maxLines - Maximum number of lines overflow - Text overflow handling

Implementation

Widget build(
  String text, {
  TextStyle? style,
  TextAlign? textAlign,
  TextDirection? textDirection,
  int? maxLines,
  TextOverflow? overflow,
});