AdaptiveCard constructor

AdaptiveCard({
  1. Key? key,
  2. required Map<String, dynamic>? map,
  3. required Map<String, dynamic>? hostConfig,
  4. Widget? placeholder,
  5. CardRegistry cardRegistry = const CardRegistry(),
  6. void onSubmit(
    1. Map<String, dynamic> map
    )?,
  7. void onOpenUrl(
    1. String url
    )?,
  8. bool showDebugJson = true,
  9. bool approximateDarkThemeColors = true,
  10. bool isAsync = false,
})

Implementation

AdaptiveCard({
  Key? key,
  required this.map,
  required this.hostConfig,
  this.placeholder,
  this.cardRegistry = const CardRegistry(),
  this.onSubmit,
  this.onOpenUrl,
  this.showDebugJson = true,
  this.approximateDarkThemeColors = true,
  this.isAsync = false,
})  : adaptiveCardContentProvider = null,
      super(key: key);