flutter_html icon indicating copy to clipboard operation
flutter_html copied to clipboard

[BUG] LayoutBuilder does not support returning intrinsic dimensions.

Open surajpunemaha opened this issue 3 years ago • 0 comments

Describe the bug: Unable to render HTML formatting. (Nothing is seen on UI)

HTML to reproduce the issue: """

Allergy Information
Free From Celery
Free From Cereals Containing Gluten
Free From Crustaceans
Free From Eggs
Free From Fish
Free From Lupin
Free From Milk
Free From Molluscs
Free From Mustard
Free From Nuts
Free From Peanuts
Free From Sulphur Dioxide/Sulphites
Free From Soya
Free From Sesame
Additives Information
Sweeteners Contains
Genetically Modified Ingredients Free From
Nut Statement
Ingredients
Carbonated Water
Sugar
Orange Juice from Concentrate (3.7%)
Citrus Fruit from Concentrate (1.3%)
Acids (Citric Acid, Malic Acid)
Vegetable Extracts (Carrot, Pumpkin)
Sweeteners (Acesulfame K, Sucralose)
Preservative (Potassium Sorbate)
Acidity Regulator (Sodium Citrates)
Stabiliser (Guar Gum)
Natural Orange Flavourings with other Natural Flavourings
Antioxidant (Ascorbic Acid)
Nutrition
Per 100mlPer 330ml (%*)
Energy19kcal63kcal (3%)
Fat0g0g (0%)
Of which saturates0g0g (0%)
Carbohydrate4.5g15g (6%)
Of which sugars4.5g15g (17%)
Protein0g0g (0%)
*Reference intake of an average adult (8400kJ/2000kcal)
Salt0g0g (0%)
"""

Html widget configuration: flutter_html 2.2.1

Expected behavior: As you can see HTML in preview above (HTML to reproduce the issue).

Device details and Flutter/Dart/flutter_html versions: Flutter 2.10.3 and Dart 2.16.1

Additional info: Using HTML ( ) widget in SingleChildScrollView

surajpunemaha avatar Aug 12 '22 13:08 surajpunemaha