applyToMaterialTheme method
Could wrap a child
with a Theme to override global styles if
necessary.
Implementation
@override
Widget applyToMaterialTheme(BuildContext context, Widget child) {
return Theme(
data: Theme.of(context).copyWith(
inputDecorationTheme: inputDecorationTheme,
),
child: child,
);
}