MetaMantleDataComponent<T> class
Component adapter loading data from MetaMantleDataProvider before rendering.
Constructors
-
MetaMantleDataComponent({required MetaMantleDataProvider<
T> dataProvider, required List<HtmlNode> builder(T data, RouteDataContext context), List<HtmlNode> ? loadingPlaceholder, List<HtmlNode> ? errorPlaceholder}) -
const
Properties
-
builder
→ List<
HtmlNode> Function(T data, RouteDataContext context) -
final
-
dataProvider
→ MetaMantleDataProvider<
T> -
final
-
errorPlaceholder
→ List<
HtmlNode> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
loadingPlaceholder
→ List<
HtmlNode> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadAndBuild(
RouteDataContext context) → Future< List< HtmlNode> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited