EChartsWebView constructor
const
EChartsWebView({
- Key? key,
- required String option,
- double width = 400,
- double height = 300,
- ChartThemeMode? theme,
- bool enableLogger = false,
- Widget errorBuilder(
- BuildContext context,
- Object error,
- StackTrace? stack
- int loadTimeoutSeconds = 12,
- int reload = 0,
- JSAny? initOptions,
- 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,
});