copyWith method

InputOTPTheme copyWith({
  1. ValueGetter<double?>? spacing,
  2. ValueGetter<double?>? height,
})

Implementation

InputOTPTheme copyWith({
  ValueGetter<double?>? spacing,
  ValueGetter<double?>? height,
}) {
  return InputOTPTheme(
    spacing: spacing == null ? this.spacing : spacing(),
    height: height == null ? this.height : height(),
  );
}