Skip to content

Commit eb1f546

Browse files
committed
fixed documentation
1 parent 8f2c0c5 commit eb1f546

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/flutter_html.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Html extends StatelessWidget {
4343
///
4444
/// **onImageTap** This is called whenever an image is tapped.
4545
///
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.
4747
///
4848
/// **style** Pass in the style information for the Html here.
4949
/// See [its wiki page](https://github.com/Sub6Resources/flutter_html/wiki/Style) for more info.
@@ -126,7 +126,7 @@ class Html extends StatelessWidget {
126126
/// A function that defines what to do when an image is tapped
127127
final OnTap? onImageTap;
128128

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.
130130
final List<String> tagsList;
131131

132132
/// Either return a custom widget for specific node types or return null to
@@ -193,7 +193,7 @@ class SelectableHtml extends StatelessWidget {
193193
/// **onAnchorTap** This function is called whenever an anchor (#anchor-id)
194194
/// is tapped.
195195
///
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.
197197
///
198198
/// **style** Pass in the style information for the Html here.
199199
/// See [its wiki page](https://github.com/Sub6Resources/flutter_html/wiki/Style) for more info.
@@ -266,7 +266,7 @@ class SelectableHtml extends StatelessWidget {
266266
/// flexible
267267
final bool shrinkWrap;
268268

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.
270270
final List<String> tagsList;
271271

272272
/// An API that allows you to override the default style for any HTML element

0 commit comments

Comments
 (0)