of static method

ClayThemeData? of(
  1. BuildContext context
)

Implementation

static ClayThemeData? of(BuildContext context) {
  return context.findAncestorWidgetOfExactType<ClayTheme>()?.themeData;
}