flutter_web_head library

Backward-compatible export for meta_mantle.

Classes

Alternative language representation for hreflang links.
AlternateUrl
Convenience subclass/alias for AlternateLink.
ElementNode
A semantic HTML element node with attributes and child nodes.
FlutterWebAccelerator
Accelerator and diagnostic toolkit for Flutter Web (Mode A). Analyzes Flutter web builds, diagnoses Wasm compatibility, font/bundle weights, and recommends multi-threaded Skwasm headers and bootstrap optimizations.
FlutterWebAnalysisReport
Comprehensive analysis report for Flutter Web applications.
H
Factory functions for common semantic HTML tags.
HeadTag
A normalized, platform-neutral representation of one head element.
HtmlDocument
Renders a complete, valid, SEO-ready semantic HTML5 document.
HtmlNode
Base class for all HTML DOM nodes rendered by MetaMantle SSR.
HtmlSanitizer
Allowlist-based HTML sanitizer for rich text content.
ImageFinding
Represents an individual audit finding for an image.
ImageSeoAnalyzer
Analyzer that evaluates images in HTML for SEO accessibility, Core Web Vitals (CLS), and generates Google Image XML sitemaps.
ImageSeoReport
Aggregate audit report for image SEO and Core Web Vitals optimization.
InsertChildPatch
Insert new child node at index.
JsonLd
Structured data payload for search crawlers.
MantleApp
Universal application root definition.
MantleAppBar
MantleArticle
Semantic article container component (<article>).
MantleAsyncSnapshot<T>
Asynchronous state wrapper for Futures.
MantleBorder
MantleBorderRadius
MantleBoxShadow
MantleBreadcrumb
Universal breadcrumb trail component producing semantic <nav aria-label="Breadcrumb"> and <ol> markup.
MantleBreadcrumbItem
Represents an item in a MantleBreadcrumb navigation trail.
MantleBuilder<T>
A reactive component that rebuilds when a MantleObservable changes.
MantleButton
MantleCenter
MantleCheckbox
MantleChildPatch
Patch describing child list reconciliation.
MantleColor
Universal styling abstraction that maps cleanly to CSS styles on Web/Server and Flutter styling properties (BoxDecoration, TextStyle, etc.) on native.
MantleColumn
MantleComponent
Base class for all portable UI components in MetaMantle.
MantleContainer
MantleContext
Context provided to components during build time.
MantleCustomElement
Escape hatch allowing rendering of arbitrary custom HTML elements, Web Components, or SVG tags.
MantleDetails
Semantic collapsible disclosure component (<details> and <summary>).
MantleDiffEngine
Computes the diff between oldNode and newNode.
MantleDisposable
Contract for objects that need lifecycle disposal.
MantleDrawer
Universal drawer component for side navigation and menus.
MantleEdgeInsets
MantleElementNode
Represents an element node (such as container, button, div, section, heading, etc.).
MantleEvent
Abstract cross-platform event passed to portable Mantle event callbacks.
MantleExpanded
MantleFlutterAppWidget
MantleFlutterRenderer
Flutter widget renderer for MantleNode trees. Enables portable Mantle components to render natively on Android, iOS, macOS, Windows, Linux, and Flutter Web CanvasKit/Skwasm.
MantleForm
MantleFragment
Represents a collection of siblings without an enclosing wrapper.
MantleFutureBuilder<T>
A component that renders based on the latest state of a Future.
MantleGestureDetector
MantleGrid
MantleHeading
MantleIcon
MantleIconButton
MantleImage
MantleIsland
Represents a scoped Flutter Island mount container in hybrid rendering (Strategy C: RenderingStrategy.domWithFlutterIslands).
MantleKey
Key for establishing stable identity during reconciliation across renders.
MantleLabel
MantleLandmark
MantleList
Semantic list container component (<ul> or <ol>).
MantleListItem
Single item within a MantleList (<li>).
MantleNavigation
Universal navigation component (bottom nav, top bar, or side rail).
MantleNavigationContext
Concrete implementation of MantleContext for runtime navigation.
MantleNavigationItem
Navigation destination item used in MantleNavigation.
MantleNode
Abstract base node in MetaMantle's universal intermediate representation.
MantleNodeVisitor<T>
Visitor interface for traversing the MantleNode tree across different renderers.
MantleObservable<T>
An observable value that notifies registered listeners when changed.
MantleOffset
MantlePadding
MantlePage
MantleParagraph
MantlePatch
Describes a mutation patch to update a DOM/UI node incrementally.
MantleProduct
Rich semantic Product representation with embedded Schema.org microdata (itemscope itemtype="https://schema.org/Product").
MantleRadio<T>
MantleRenderer<T>
Abstract contract for a rendering backend capable of turning a MantleNode into a target platform visual or document tree of type T.
MantleRichText
MantleRoute
Represents a single route declaration in MetaMantle's universal routing system.
MantleRouteMatch
Result of matching a path against registered MantleRoutes.
MantleRouter
Universal route resolver and matching engine.
MantleRow
MantleSelect<T>
MantleSemantics
MantleServerRenderer
Server-side semantic HTML renderer for MantleNode trees. Produces standard, accessible HTML markup with zero client-side framework overhead.
MantleSizedBox
MantleSpacer
MantleStack
MantleState<T extends StatefulMantleComponent>
The logic and internal state for a StatefulMantleComponent.
MantleStateRegistry
Registry retaining and managing lifecycle for MantleState instances.
MantleStore
Observable state store supporting key-value state management across components.
MantleSwitch
MantleTab
Single tab item within a MantleTabs component.
MantleTable
Semantic HTML Table component (<table>).
MantleTableCell
A cell inside a MantleTableRow (<td> or <th>).
MantleTableRow
A row inside a MantleTable (<tr>).
MantleTabs
Universal tabs component.
MantleText
MantleTextArea
Multi-line text input component (<textarea>).
MantleTextField
MantleTextNode
Represents plain or styled text in the intermediate representation.
MantleTextSpan
MantleTextStyle
MantleValueKey<T>
A key that uses a value of a particular type to identify itself.
MantleWrap
MetadataRenderer
Resolves global defaults and page metadata into deterministic head tags.
MetaHead
Applies metadata while this widget is mounted.
MetaMantle
Imperative entry point for global configuration and metadata updates in MetaMantle.
MetaMantleConfig
Global defaults used to resolve page-level metadata in MetaMantle.
MetaMantleGoRouterObserver
An official NavigatorObserver tailored for go_router applications.
MetaMantleNavigatorObserver
A NavigatorObserver that synchronizes the active browser URL with MetaMantle for automatic canonical URL resolution.
OpenGraph
Convenience subclass for OpenGraphMetadata.
OpenGraphMetadata
Open Graph metadata configuration.
OpenGraphType
Standard Open Graph object types.
PatchChildPatch
Update child node at index with patch.
PolicyProvenance
Diagnostic provenance record tracking where resolved metadata properties originated.
RawSafeHtmlNode
A node representing explicitly validated or sanitized raw HTML markup.
RemoveChildPatch
Remove child node at index.
ReplaceNodePatch
Indicates the entire node must be replaced with newNode.
ResolvedSeoMetadata
Container for the resolved metadata and its diagnostic provenance trace.
ResourceHint
Resource hints for high-performance resource preloading and connection warmup.
RobotsDirective
Standard robots directive values and custom builders.
SeoPolicy
A policy node declaring SEO rules, defaults, and overrides at a specific tier.
SeoPolicyResolver
Centralized SEO policy resolution engine executing the 7-tier inheritance hierarchy: Global -> Application -> Tenant -> Locale -> Section -> Route -> Page Overrides.
StatefulMantleComponent
A component that has associated mutable state.
StatelessMantleComponent
A component that does not require mutable local state.
TextNode
A node representing escaped plain text.
TwitterCard
Convenience subclass for TwitterCardMetadata.
TwitterCardMetadata
X/Twitter card metadata configuration.
TwitterCardType
Standard X/Twitter card types.
UpdateElementPatch
Indicates an element node's attributes, classes, styles, and events should be patched.
UpdateTextPatch
Indicates a text node's content should be updated to newText.
WebIcon
Icon representation for favicons, touch icons, and web manifests.
Convenience subclass/alias for WebLinkTag.
WebLinkTag
Safe custom link tag representation.
WebMetadata
Page-specific metadata. Unset values inherit from WebHeadConfig.
WebMetaTag
Safe custom metadata. Only standard text attributes are supported.
WebOptimizationFinding
Diagnostic issue or optimization recommendation for Flutter Web.

Enums

ImageIssueSeverity
Severity of an image SEO or performance finding.
MantleCrossAxisAlignment
MantleFontStyle
MantleFontWeight
MantleLandmarkType
MantleMainAxisAlignment
PolicyTier
Defines the policy tier in the 7-level inheritance hierarchy.
RenderingStrategy
Defines the rendering strategy for MetaMantle web applications.

Functions

runMantleApp(MantleApp app) → void
Launches a MantleApp using the Flutter rendering engine. Used on Android, iOS, Desktop, and Flutter Web compatibility mode.

Typedefs

FlutterWebHead = MetaMantle
Backward compatibility alias for MetaMantle.
GoRouteMetadataProvider = WebMetadata? Function(Route route, String path)
Function signature for extracting metadata from a GoRouter route.
MantleEventCallback = void Function(MantleEvent event)
MantleInput = MantleTextField
Alias for MantleTextField matching HTML input nomenclature.
MantleRouteBuilder = MantleComponent Function(MantleContext context)
MantleRouteGuard = String? Function(MantleContext context)
MantleValueCallback<T> = void Function(T value)
MantleVoidCallback = void Function()
WebHead = MetaHead
Backward compatibility alias for MetaHead.
WebHeadConfig = MetaMantleConfig
Backward compatibility alias for MetaMantleConfig.
WebHeadNavigatorObserver = MetaMantleNavigatorObserver
Backward compatibility alias for MetaMantleNavigatorObserver.