DeclarativeMdx.fromPageAsset constructor

DeclarativeMdx.fromPageAsset(
  1. String assetName, {
  2. Customizations? customizations,
})

Implementation

factory DeclarativeMdx.fromPageAsset(
  String assetName, {
  Customizations? customizations,
}) => DeclarativeMdx(
  DeclarativeMdxConfiguration(
    page: WorkflowPage(contentLoader: () => rootBundle.loadString(assetName)),
  ),
  customizations: customizations,
);