of static method
The data from the closest instance of this class that encloses the given context.
Typical usage is as follows:
CheckmarkThemeData theme = CheckmarkTheme.of(context);
Implementation
static CheckmarkThemeData of(BuildContext context) {
final parentTheme = CheckmarkTheme.maybeOf(context);
if (parentTheme != null) return parentTheme;
return const CheckmarkThemeData();
}