How to display websites in Flutter | WebView | ProgrammingAddict

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 17

  • @runningsky
    @runningsky 3 года назад +3

    does the webview work if the website was written in php?

  • @grantwin3839
    @grantwin3839 Год назад

    This video's tutorial is one of the most remarkable videos I have watched on Webviews. Thank you for this! However if I will like to display certain content on the website will that be possible? I don't want to display the website menus, header, slider and all but just the body. How do we go about it? Thanks in anticipation

  • @wardatariq1966
    @wardatariq1966 3 года назад +3

    Can i get this project's github link pls?

  • @pranav12ful
    @pranav12ful 2 года назад +2

    Kindly tell, how to force flutter webview to open only in Desktop mode ?

    • @H3xOv3rflow
      @H3xOv3rflow 2 года назад

      Hi brother
      Have you get any way to Force flutter WebView to open desktop mode website in android
      Because I have also this problem 🥲

  • @uyscuti5571
    @uyscuti5571 3 года назад +1

    By far this is the best tutorial i watched about web views!!!
    But i have some questions :
    In case of we failed to connect to a given url how can we change the default error screen (the one that shows 404 error).?
    And can we use a .html file instead of putting our html in a String?

    • @ProgrammingAddict
      @ProgrammingAddict  3 года назад +2

      I'm not sure if you can change the default error screen, but what you can do is, on failure, you can hide the webview and display the flutter widgets you want to display as an error message
      If you want to display a different html page on failure you can probably do it in the same way I showed in the video, just in the error handler for the webview
      As for displaying something out of a file you can do that aswell, but you would have to load the contents of the file into a string and then display it, you can use flutter assets to do that
      flutter.dev/docs/development/ui/assets-and-images

    • @uyscuti5571
      @uyscuti5571 3 года назад

      @@ProgrammingAddict thank you so mush man !!!

    • @iamtafara
      @iamtafara 3 года назад

      I second u there,,, this is the best webview tutorial by a country mile

  • @lklakshan5980
    @lklakshan5980 2 года назад

    this is amazing video how do you these thing i like to learn this kind of thing more.

  • @umesh6824
    @umesh6824 Год назад

    Awesome!!!

  • @chrisl2854
    @chrisl2854 2 года назад

    The only problem I have with this is Flutter Web View is not updating url content. I have updated my page content on the website and will continue to do so but the WebViewer is not showing that change . I will need this to work on Android and IOS my app will be done if ever this gets to working right.

  • @kms12317
    @kms12317 2 года назад

    I need to get only some data from a website without showing it , such as products displayed in website

  • @clementkinuthia5306
    @clementkinuthia5306 Год назад

    Ive already tried but i keep getting an error that WebView isnt defined

  • @aifun95
    @aifun95 2 года назад

    webview is not showing in my flutter is that i miss somthing in installation part

  • @LazyCliqueOFC
    @LazyCliqueOFC 3 года назад

    My app crash when i a tap on random ads.

  • @mohosinali650
    @mohosinali650 2 года назад

    need sorce code