EChartsWebView constructor

const EChartsWebView({
  1. Key? key,
  2. required String option,
  3. double width = 400,
  4. double height = 300,
  5. ChartThemeMode? theme,
  6. bool enableLogger = false,
  7. Widget errorBuilder(
    1. BuildContext context,
    2. Object error,
    3. StackTrace? stack
    )?,
  8. int loadTimeoutSeconds = 12,
  9. int reload = 0,
  10. JSAny? initOptions,
  11. Map<EChartsEvent, void Function(dynamic params)>? onEvents,
})

Implementation

const EChartsWebView({
  super.key,
  required this.option,
  this.width = 400,
  this.height = 300,
  this.theme,
  this.enableLogger = false,
  this.errorBuilder,
  this.loadTimeoutSeconds = 12,
  this.reload = 0,
  this.initOptions,
  this.onEvents,
});