MetaMantleDataComponent<T> constructor

const MetaMantleDataComponent<T>({
  1. required MetaMantleDataProvider<T> dataProvider,
  2. required List<HtmlNode> builder(
    1. T data,
    2. RouteDataContext context
    ),
  3. List<HtmlNode>? loadingPlaceholder,
  4. List<HtmlNode>? errorPlaceholder,
})

Implementation

const MetaMantleDataComponent({
  required this.dataProvider,
  required this.builder,
  this.loadingPlaceholder,
  this.errorPlaceholder,
});