of static method

Implementation

static TdFormThemeData of(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<TdFormTheme>()?.data ??
      const TdFormThemeData.fallback();
}