VegaEmbedOptions constructor

VegaEmbedOptions({
  1. String? mode,
  2. String? theme,
  3. Object? defaultStyle,
  4. String? renderer,
  5. LogLevel? logLevel,
  6. Object? tooltip,
  7. num? width,
  8. num? height,
  9. Padding? padding,
  10. Actions? actions,
  11. num? scaleFactor,
  12. String? editorUrl,
  13. String? sourceHeader,
  14. String? sourceFooter,
  15. I18N? i18n,
  16. String? downloadFileName,
  17. FormatLocale? formatLocale,
  18. TimeFormatLocale? timeFormatLocale,
})

Constructor

Implementation

factory VegaEmbedOptions({
  String? mode,
  String? theme,
  Object? defaultStyle,
  String? renderer,
  LogLevel? logLevel,
  Object? tooltip,
  // todo: Define loader
  // todo: define patch
  num? width,
  num? height,
  Padding? padding,
  Actions? actions,
  num? scaleFactor,
  // todo: define config
  /// Url for the vegaEditor
  String? editorUrl,

  ///
  String? sourceHeader,
  String? sourceFooter,
  // todo: define hover,
  I18N? i18n,
  String? downloadFileName,
  FormatLocale? formatLocale,
  TimeFormatLocale? timeFormatLocale,
}) = _VegaEmbedOptions;