daohoangson / flutter_widget_from_html

Flutter package to render html as widgets that supports hyperlink, image, audio, video, iframe and many other tags.
https://pub.dev/packages/flutter_widget_from_html
MIT License
580 stars 205 forks source link

Set `style.height` to any appropriate value to stop this message. #1245

Open At738343 opened 1 week ago

At738343 commented 1 week ago

i am creating admin panel using flutter web, whenever i applied this html content : '''

Get started at https://flutter.dev today.

Flutter is Google's mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

'''

i got this warning : Height of Platform View type: [WebViewState#409a5(lifecycle state: created)#888408485] may not be set. Defaulting to height: 100%. Set style.height to any appropriate value to stop this message. Width of Platform View type: [WebViewState#409a5(lifecycle state: created)#888408485] may not be set. Defaulting to width: 100%. Set style.width to any appropriate value to stop this message.

if i removed this no waring

plz help me as soon as possible

At738343 commented 1 week ago

flutter doctor : Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.19.5, on macOS 13.5.1 22G90 darwin-arm64, locale en-IN) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.1) [✓] VS Code (version 1.89.0) [✓] Connected device (2 available)