copyWith method

CouverThemeData copyWith({
  1. String? obscuringCharacter,
  2. Locale? locale,
  3. double? gutter,
  4. double? pagePadding,
  5. double? inputBorderRadius,
  6. Curve? animationSizeCurve,
  7. Duration? animationSizeDuration,
  8. InteractiveInkFeatureFactory? splashFactory,
  9. CouverThemeColors? colors,
})

Implementation

CouverThemeData copyWith({
  String? obscuringCharacter,
  Locale? locale,
  double? gutter,
  double? pagePadding,
  double? inputBorderRadius,
  Curve? animationSizeCurve,
  Duration? animationSizeDuration,
  InteractiveInkFeatureFactory? splashFactory,
  CouverThemeColors? colors,
}) {
  return CouverThemeData(
    obscuringCharacter: obscuringCharacter ?? this.obscuringCharacter,
    locale: locale ?? this.locale,
    gutter: gutter ?? this.gutter,
    pagePadding: pagePadding ?? this.pagePadding,
    inputBorderRadius: inputBorderRadius ?? this.inputBorderRadius,
    animationSizeCurve: animationSizeCurve ?? this.animationSizeCurve,
    animationSizeDuration:
        animationSizeDuration ?? this.animationSizeDuration,
    splashFactory: splashFactory ?? this.splashFactory,
    colors: colors ?? this.colors,
  );
}