oghref_builder library

An abstrct Widget builder for constructing Widget of rich information link.

Classes

AudioInfo
Specify audio metadata in rich informations.
ImageInfo
Display thumbnail of website with given image.
MetaFetch
Read Document and find all metadata tags to generate corresponded MetaInfo.
MetaInfo
Completed structure of rich information link preview metadata.
OgHrefBuilder
A utility for building Widget from url retrived MetaInfo.
OpenGraphPropertyParser
Open Graph Protocol implementations of MetaPropertyParser.
VideoInfo
Define metadata information for playing video in preview.

Typedefs

MetaInfoFetchFailedBuilder = Widget Function(BuildContext context, Object exception, VoidCallback openLink)
A builder for handling failure of loading rich information link.
MetaInfoRetrivedBuilder = Widget Function(BuildContext context, MetaInfo metaInfo, VoidCallback openLink)
A builder when rich information link metadata has been retrived.

Exceptions / Errors

NonHttpUrlException
Indicate the given Uri is not using HTTP(S) protocol.