of static method

ThemeData of(
  1. Context context
)

Implementation

static ThemeData of(Context context) {
  return context.dependsOn<ThemeData>()!;
}