@@ -43,7 +43,7 @@ class Html extends StatelessWidget {
43
43
///
44
44
/// **onImageTap** This is called whenever an image is tapped.
45
45
///
46
- /// **tagsList** Tag names in this array will be the only tags rendered. By default all tags are rendered.
46
+ /// **tagsList** Tag names in this array will be the only tags rendered. By default all supported HTML tags are rendered.
47
47
///
48
48
/// **style** Pass in the style information for the Html here.
49
49
/// See [its wiki page] (https://github.com/Sub6Resources/flutter_html/wiki/Style) for more info.
@@ -126,7 +126,7 @@ class Html extends StatelessWidget {
126
126
/// A function that defines what to do when an image is tapped
127
127
final OnTap ? onImageTap;
128
128
129
- /// A list of HTML tags that defines what elements are not rendered
129
+ /// A list of HTML tags that are the only tags that are rendered. By default, this list is empty and all supported HTML tags are rendered.
130
130
final List <String > tagsList;
131
131
132
132
/// Either return a custom widget for specific node types or return null to
@@ -193,7 +193,7 @@ class SelectableHtml extends StatelessWidget {
193
193
/// **onAnchorTap** This function is called whenever an anchor (#anchor-id)
194
194
/// is tapped.
195
195
///
196
- /// **tagsList** Tag names in this array will be the only tags rendered. By default all tags that support selectable content are rendered.
196
+ /// **tagsList** Tag names in this array will be the only tags rendered. By default, all tags that support selectable content are rendered.
197
197
///
198
198
/// **style** Pass in the style information for the Html here.
199
199
/// See [its wiki page] (https://github.com/Sub6Resources/flutter_html/wiki/Style) for more info.
@@ -266,7 +266,7 @@ class SelectableHtml extends StatelessWidget {
266
266
/// flexible
267
267
final bool shrinkWrap;
268
268
269
- /// A list of HTML tags that defines what elements are not rendered
269
+ /// A list of HTML tags that are the only tags that are rendered. By default, this list is empty and all supported HTML tags are rendered.
270
270
final List <String > tagsList;
271
271
272
272
/// An API that allows you to override the default style for any HTML element
0 commit comments