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
@@ -640,6 +643,24 @@ This package renders table elements using the [`flutter_layout_grid`](https://pu
640
643
641
644
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.
642
645
646
+
## Notes
647
+
648
+
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:
649
+
650
+
```dart
651
+
Widget row = Row(
652
+
children: [
653
+
Expanded(
654
+
child: Html(
655
+
shrinkWrap: true,
656
+
//other params
657
+
)
658
+
),
659
+
//whatever other widgets
660
+
]
661
+
);
662
+
```
663
+
643
664
## Migration Guides
644
665
- For Version 1.0 - [Guide](https://github.com/Sub6Resources/flutter_html/wiki/1.0.0-Migration-Guide)
0 commit comments