You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -646,6 +649,24 @@ This package renders table elements using the [`flutter_layout_grid`](https://pu
646
649
647
650
When rendering table elements, the package tries to calculate the best fit for each element and size its cell accordingly. `Rowspan`s and `colspan`s are considered in this process, so cells that span across multiple rows and columns are rendered as expected. Heights are determined intrinsically to maintain an optimal aspect ratio for the cell.
648
651
652
+
## Notes
653
+
654
+
1. If you'd like to use this widget inside of a `Row()`, make sure to set `shrinkWrap: true` and place your widget inside expanded:
655
+
656
+
```dart
657
+
Widget row = Row(
658
+
children: [
659
+
Expanded(
660
+
child: Html(
661
+
shrinkWrap: true,
662
+
//other params
663
+
)
664
+
),
665
+
//whatever other widgets
666
+
]
667
+
);
668
+
```
669
+
649
670
## Migration Guides
650
671
- For Version 1.0 - [Guide](https://github.com/Sub6Resources/flutter_html/wiki/1.0.0-Migration-Guide)
0 commit comments