of static method

PieTheme of(
  1. BuildContext context
)

Returns the PieTheme defined in the closest PieCanvas instance that encloses the given context.

Implementation

static PieTheme of(BuildContext context) {
  return PieNotifier.of(context).canvas.widget.theme;
}