of static method

XYChartScope? of(
  1. BuildContext context
)

Implementation

static XYChartScope? of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<XYChartScope>();
}