build method

  1. @override
Widget build(
  1. Context context
)
override

Implementation

@override
Widget build(Context context) {
  return Container(
    margin: margin,
    padding: padding,
    child: Text(
      text!,
      textAlign: textAlign,
      style: style ?? Theme.of(context).paragraphStyle,
      overflow: TextOverflow.span,
    ),
  );
}