AdaptiveCard.asset constructor
AdaptiveCard.asset({})
Implementation
AdaptiveCard.asset({
Key? key,
this.placeholder,
CardRegistry? cardRegistry,
required String assetPath,
required String hostConfigPath,
this.onSubmit,
this.onOpenUrl,
this.showDebugJson = true,
this.approximateDarkThemeColors = true,
this.isAsync = true,
}) : adaptiveCardContentProvider = AssetAdaptiveCardContentProvider(
path: assetPath,
hostConfigPath: hostConfigPath,
),
map = null,
hostConfig = null,
cardRegistry = cardRegistry ?? const CardRegistry(),
super(key: key);