metalink_flutter library
Metalink Flutter - Link Preview Widget Library Flutter UI components for the Metalink metadata extraction package
Classes
- ContentAnalysis
- Represents content analysis results for a URL
- FaviconWidget
- A widget that displays a website's favicon
- ImageManipulationCapabilities
- Represents the capabilities for manipulating an image URL
- ImageMetadata
- Represents metadata for an image URL with manipulation capabilities
- ImagePreview
- A widget that displays an optimized preview image from a URL
- ImageResolver
- A utility class for resolving and optimizing images from ImageMetadata
- ImageUrlAnalyzer
- A utility class for analyzing and manipulating image URLs
- LinkMetadata
- Represents comprehensive metadata extracted from a URL
- LinkPreview
- Main link preview widget that can be configured and used directly
- LinkPreviewBuilder
- A builder widget for creating link previews from a URL
- LinkPreviewCard
- A card-style link preview widget
- LinkPreviewCompact
- A compact horizontal link preview widget, suitable for chat interfaces
- LinkPreviewConfig
- Configuration options for link previews
- LinkPreviewController
- Controller for managing link preview state and data loading
- LinkPreviewLarge
- A large link preview widget with prominent image and detailed content
- LinkPreviewSkeleton
- A skeleton loading placeholder for link previews
- LinkPreviewTheme
- A theme extension for customizing link preview styles throughout an app
- LinkPreviewThemeData
- Defines the visual properties for link preview widgets.
- MetadataCache
- A cache for storing and retrieving extracted metadata
- MetadataCacheFactory
- Factory for creating metadata cache instances
- MetadataExtractor
- The main metadata extraction engine
- MetadataFlutterCacheFactory
- Factory for creating metadata cache instances
- MetadataProvider
- Provider for link metadata with integration with MetaLink's caching system
- MetaLink
- Main entry point for using the MetaLink package
- ResponsiveBreakpoint
- Represents a responsive breakpoint with optional dimensions
- ResponsiveImage
- Represents a responsive image with its dimensions and source breakpoint
- SimpleMetaLink
- A simplified interface for quick, one-off metadata extraction
- SocialEngagement
- Represents social media engagement metrics for a URL
- UrlDetector
- A utility class for URL detection and manipulation
- UrlMatch
- Represents a URL match in text
- UrlOptimizationResult
- Result of a URL optimization operation
- UrlOptimizer
- A utility class for optimizing and following URL redirects
Enums
- CdnType
- Known CDN types for optimized handling
- ContentSentiment
- Content sentiment analysis result
- ContentType
- Content type classification
- ImageManipulationStrategy
- Defines the strategy used for image URL manipulation
- LinkPreviewStyle
- Defines the available presentation styles for link previews
- UrlType
- Represents the type of content at a URL
Extensions
- LinkMetadataExtensions on LinkMetadata
- Extensions on LinkMetadata for Flutter-specific functionality
- LinkPreviewContextExtensions on BuildContext
- Extensions on BuildContext for easy access to link preview utilities
- LinkPreviewThemeExtension on BuildContext
- Extensions on BuildContext to easily access link preview theming
- ThemeDataExtensions on ThemeData
- Add theme extension methods to ThemeData
Typedefs
- LinkPreviewTapCallBack = void Function(LinkMetadata? data)
- the call back of on tap on any LinkPreview widget.