File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed
Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 11import 'package:flutter/material.dart' ;
22import 'package:flutter_html/flutter_html.dart' ;
3- import 'package:flutter_html/html_parser.dart' ;
4- import 'package:flutter_html/image_render.dart' ;
5- import 'package:flutter_html/src/layout_element.dart' ;
6- import 'package:flutter_html/style.dart' ;
73
84void main () => runApp (new MyApp ());
95
Original file line number Diff line number Diff line change 11library flutter_html;
22
3+ //export image render api
4+ export 'package:flutter_html/image_render.dart' ;
5+ //export style api
6+ export 'package:flutter_html/style.dart' ;
7+ //export render context api
8+ export 'package:flutter_html/html_parser.dart' ;
9+ //export src for advanced custom render uses (e.g. casting context.tree)
10+ export 'package:flutter_html/src/layout_element.dart' ;
11+ export 'package:flutter_html/src/replaced_element.dart' ;
12+ export 'package:flutter_html/src/styled_element.dart' ;
13+ export 'package:flutter_html/src/interactable_element.dart' ;
14+
315import 'package:flutter/material.dart' ;
416import 'package:flutter_html/html_parser.dart' ;
517import 'package:flutter_html/image_render.dart' ;
Original file line number Diff line number Diff line change @@ -307,6 +307,9 @@ class Style {
307307 listStyleType: child.listStyleType ?? listStyleType,
308308 listStylePosition: child.listStylePosition ?? listStylePosition,
309309 textAlign: child.textAlign ?? textAlign,
310+ textDecoration: TextDecoration .combine (
311+ [child.textDecoration ?? TextDecoration .none,
312+ textDecoration ?? TextDecoration .none]),
310313 textShadow: child.textShadow ?? textShadow,
311314 whiteSpace: child.whiteSpace ?? whiteSpace,
312315 wordSpacing: child.wordSpacing ?? wordSpacing,
You can’t perform that action at this time.
0 commit comments