copyWith method

Creates a copy of this theme with specified properties overridden.

Implementation

FormattedInputTheme copyWith({
  ValueGetter<double?>? height,
  ValueGetter<EdgeInsetsGeometry?>? padding,
}) {
  return FormattedInputTheme(
    height: height == null ? this.height : height(),
    padding: padding == null ? this.padding : padding(),
  );
}