Skip to content

Commit 45bc470

Browse files
committed
Fix custom renders in readme
1 parent 35ff307 commit 45bc470

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

packages/flutter_html_audio/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The package considers the attributes `controls`, `loop`, `src`, `autoplay`, `wid
1010

1111
```dart
1212
Widget html = Html(
13-
customRender: {
13+
customRenders: {
1414
audioMatcher(): audioRender(),
1515
}
1616
);

packages/flutter_html_iframe/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Sandbox controls the JavaScript mode of the webview - a value of `null` or `allo
1212

1313
```dart
1414
Widget html = Html(
15-
customRender: {
15+
customRenders: {
1616
iframeMatcher(): iframeRender(),
1717
}
1818
);
@@ -23,7 +23,7 @@ You can set the `navigationDelegate` of the webview with the `navigationDelegate
2323

2424
```dart
2525
Widget html = Html(
26-
customRender: {
26+
customRenders: {
2727
iframeMatcher(): iframeRender(navigationDelegate: (NavigationRequest request) {
2828
if (request.url.contains("google.com/images")) {
2929
return NavigationDecision.prevent;

packages/flutter_html_math/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Because this package is parsing MathML to Tex, it may not support some functiona
1212

1313
```dart
1414
Widget html = Html(
15-
customRender: {
15+
customRenders: {
1616
mathMatcher(): mathRender(),
1717
}
1818
);
@@ -28,7 +28,7 @@ You can analyze the error and the parsed string, and finally return a new instan
2828

2929
```dart
3030
Widget html = Html(
31-
customRender: {
31+
customRenders: {
3232
mathMatcher(): mathRender(onMathError: (tex, exception, exceptionWithType) {
3333
print(exception);
3434
//optionally try and correct the Tex string here

packages/flutter_html_svg/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The package also exposes a few ways to render SVGs within an `<img>` tag, specif
1212

1313
```dart
1414
Widget html = Html(
15-
customRender: {
15+
customRenders: {
1616
svgTagMatcher(): svgTagRender(),
1717
svgDataUriMatcher(): svgDataImageRender(),
1818
svgAssetUriMatcher(): svgAssetImageRender(),

packages/flutter_html_table/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ When rendering table elements, the package tries to calculate the best fit for e
1010

1111
```dart
1212
Widget html = Html(
13-
customRender: {
13+
customRenders: {
1414
tableMatcher(): tableRender(),
1515
}
1616
);

packages/flutter_html_video/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The package considers the attributes `controls`, `loop`, `src`, `autoplay`, `pos
1010

1111
```dart
1212
Widget html = Html(
13-
customRender: {
13+
customRenders: {
1414
videoMatcher(): videoRender(),
1515
}
1616
);

0 commit comments

Comments
 (0)