of static method

Implementation

static InputDecorationThemeData of(BuildContext context) =>
    context
        .dependOnInheritedWidgetOfExactType<InputDecorationTheme>()
        ?.data ??
    const InputDecorationThemeData();