copyWith method
NumberInputTheme
copyWith({
- ValueGetter<
AbstractButtonStyle?> ? buttonStyle, - ValueGetter<
EdgeInsetsGeometry?> ? padding,
Implementation
NumberInputTheme copyWith({
ValueGetter<AbstractButtonStyle?>? buttonStyle,
ValueGetter<EdgeInsetsGeometry?>? padding,
}) {
return NumberInputTheme(
buttonStyle: buttonStyle == null ? this.buttonStyle : buttonStyle(),
padding: padding == null ? this.padding : padding(),
);
}