resolveTheme method

Implementation

(InputDecorationThemeData, MaterialBindingStyle, ThemeData) resolveTheme(BuildContext context) {
  final currentTheme = Theme.of(context);
  final style = getExtension<MaterialBindingStyle>() ?? MaterialBindingStyle();
  var inputTheme = currentTheme.inputDecorationTheme;
  if (style.inputTheme != null) {
    inputTheme = style.inputTheme!.merge(inputTheme);
  }
  return (inputTheme, style, currentTheme);
}