How to Fetch preview of link in flutter
Fetch preview of link in flutter, same as whatsapp and other websites/apps fetch preview of link. We will not use any third party app to fetch preview of link. We will parse html content of link and then extract title, description, images etc.
To achieve this we will use html and http package from pub.dev and then manually read the html content as string from link and then parse it to html document, then we will get content from our targeted html tags. Such as meta tag, title tag etc. You will learn many things from this video.
Source code of this project on github:
https://github.com/prolongservices/Flutter-Link-Preview
#flutterTutorial
#FetchPreviewOfLinkInFlutter
#flutterUiDesignExamples
#flutterExamplesApp
#flutterWidgetsExamples
To achieve this we will use html and http package from pub.dev and then manually read the html content as string from link and then parse it to html document, then we will get content from our targeted html tags. Such as meta tag, title tag etc. You will learn many things from this video.
Source code of this project on github:
https://github.com/prolongservices/Flutter-Link-Preview
#flutterTutorial
#FetchPreviewOfLinkInFlutter
#flutterUiDesignExamples
#flutterExamplesApp
#flutterWidgetsExamples
Prolong Services
Published on Mon, January 13th 2020