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 1
1
import 'package:flutter/material.dart' ;
2
2
import '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' ;
7
3
8
4
void main () => runApp (new MyApp ());
9
5
Original file line number Diff line number Diff line change 1
1
library flutter_html;
2
2
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
+
3
15
import 'package:flutter/material.dart' ;
4
16
import 'package:flutter_html/html_parser.dart' ;
5
17
import 'package:flutter_html/image_render.dart' ;
Original file line number Diff line number Diff line change @@ -307,6 +307,9 @@ class Style {
307
307
listStyleType: child.listStyleType ?? listStyleType,
308
308
listStylePosition: child.listStylePosition ?? listStylePosition,
309
309
textAlign: child.textAlign ?? textAlign,
310
+ textDecoration: TextDecoration .combine (
311
+ [child.textDecoration ?? TextDecoration .none,
312
+ textDecoration ?? TextDecoration .none]),
310
313
textShadow: child.textShadow ?? textShadow,
311
314
whiteSpace: child.whiteSpace ?? whiteSpace,
312
315
wordSpacing: child.wordSpacing ?? wordSpacing,
You can’t perform that action at this time.
0 commit comments