Reuse textSpan

pull/37/head^2
singerdmx 4 years ago
parent 556dd2085a
commit caf6db8416
  1. 2
      lib/widgets/text_line.dart

@ -48,7 +48,7 @@ class TextLine extends StatelessWidget {
StrutStyle.fromTextStyle(textSpan.style, forceStrutHeight: true);
final textAlign = _getTextAlign();
RichText child = RichText(
text: _buildTextSpan(context),
text: textSpan,
textAlign: textAlign,
textDirection: textDirection,
strutStyle: strutStyle,

Loading…
Cancel
Save