Fix TextSpan _buildTextSpan(BuildContext context) method

pull/13/head
singerdmx 4 years ago
parent 2b6086ae3f
commit e997ee9298
  1. 5
      lib/widgets/text_line.dart

@ -60,8 +60,9 @@ class TextLine extends StatelessWidget {
TextSpan _buildTextSpan(BuildContext context) {
DefaultStyles defaultStyles = DefaultStyles.getInstance(context);
List<TextSpan> children =
line.children.map((node) => _getTextSpanFromNode(defaultStyles, node));
List<TextSpan> children = line.children
.map((node) => _getTextSpanFromNode(defaultStyles, node))
.toList(growable: false);
TextStyle textStyle = TextStyle();

Loading…
Cancel
Save