themeExtension<T extends ThemeExtension<T> > method
T
themeExtension<T extends ThemeExtension<T> >()
get ThemeExtension of type T
from current ThemeData
Implementation
T themeExtension<T extends ThemeExtension<T>>() =>
Theme.of(this).extension<T>()!;