copyWith method

NeumorphicTextStyle copyWith({
  1. bool? inherit,
  2. String? fontFamily,
  3. List<String>? fontFamilyFallback,
  4. double? fontSize,
  5. FontWeight? fontWeight,
  6. FontStyle? fontStyle,
  7. double? letterSpacing,
  8. double? wordSpacing,
  9. TextBaseline? textBaseline,
  10. double? height,
  11. Locale? locale,
  12. List<FontFeature>? fontFeatures,
  13. String? debugLabel,
})

Implementation

NeumorphicTextStyle copyWith({
  bool? inherit,
  String? fontFamily,
  List<String>? fontFamilyFallback,
  double? fontSize,
  FontWeight? fontWeight,
  FontStyle? fontStyle,
  double? letterSpacing,
  double? wordSpacing,
  TextBaseline? textBaseline,
  double? height,
  Locale? locale,
  List<ui.FontFeature>? fontFeatures,
  String? debugLabel,
}) {
  return NeumorphicTextStyle(
    inherit: inherit ?? this.inherit,
    fontFamily: fontFamily ?? this.fontFamily,
    fontFamilyFallback: fontFamilyFallback ?? this.fontFamilyFallback,
    fontSize: fontSize ?? this.fontSize,
    fontWeight: fontWeight ?? this.fontWeight,
    fontStyle: fontStyle ?? this.fontStyle,
    letterSpacing: letterSpacing ?? this.letterSpacing,
    wordSpacing: wordSpacing ?? this.wordSpacing,
    textBaseline: textBaseline ?? this.textBaseline,
    height: height ?? this.height,
    locale: locale ?? this.locale,
    fontFeatures: fontFeatures ?? this.fontFeatures,
    debugLabel: debugLabel ?? this.debugLabel,
  );
}