copyWith method

WxListTileStyle copyWith({
  1. EdgeInsetsGeometry? margin,
  2. EdgeInsetsGeometry? padding,
  3. double? spacing,
  4. bool? adaptiveSpacing,
  5. WxTileAlign? align,
  6. WxTileJustify? justify,
  7. bool? inline,
  8. bool? textWrap,
  9. TextAlign? textAlign,
  10. double? textSpacing,
  11. Color? textColor,
  12. TextOverflow? textOverflow,
  13. bool? textSoftWrap,
  14. TextWidthBasis? textWidthBasis,
  15. Color? iconColor,
  16. double? iconOpacity,
  17. double? iconSize,
  18. TextStyle? titleStyle,
  19. TextStyle? subtitleStyle,
  20. TextStyle? secondaryStyle,
  21. double? titleSize,
  22. double? subtitleSize,
  23. Color? titleColor,
  24. Color? subtitleColor,
  25. int? titleMaxLines,
  26. int? subtitleMaxLines,
  27. FontWeight? titleWeight,
  28. FontWeight? subtitleWeight,
})

Creates a copy of this WxListTileStyle but with the given fields replaced with the new values.

Implementation

WxListTileStyle copyWith({
  EdgeInsetsGeometry? margin,
  EdgeInsetsGeometry? padding,
  double? spacing,
  bool? adaptiveSpacing,
  WxTileAlign? align,
  WxTileJustify? justify,
  bool? inline,
  bool? textWrap,
  TextAlign? textAlign,
  double? textSpacing,
  Color? textColor,
  TextOverflow? textOverflow,
  bool? textSoftWrap,
  TextWidthBasis? textWidthBasis,
  Color? iconColor,
  double? iconOpacity,
  double? iconSize,
  TextStyle? titleStyle,
  TextStyle? subtitleStyle,
  TextStyle? secondaryStyle,
  double? titleSize,
  double? subtitleSize,
  Color? titleColor,
  Color? subtitleColor,
  int? titleMaxLines,
  int? subtitleMaxLines,
  FontWeight? titleWeight,
  FontWeight? subtitleWeight,
}) {
  return WxListTileStyle(
    margin: margin ?? this.margin,
    padding: padding ?? this.padding,
    spacing: spacing ?? this.spacing,
    adaptiveSpacing: adaptiveSpacing ?? this.adaptiveSpacing,
    align: align ?? this.align,
    justify: justify ?? this.justify,
    inline: inline ?? this.inline,
    textWrap: textWrap ?? this.textWrap,
    textAlign: textAlign ?? this.textAlign,
    textSpacing: textSpacing ?? this.textSpacing,
    textColor: textColor ?? this.textColor,
    textOverflow: textOverflow ?? this.textOverflow,
    textSoftWrap: textSoftWrap ?? this.textSoftWrap,
    textWidthBasis: textWidthBasis ?? this.textWidthBasis,
    iconColor: iconColor ?? this.iconColor,
    iconOpacity: iconOpacity ?? this.iconOpacity,
    iconSize: iconSize ?? this.iconSize,
    titleStyle: titleStyle ?? this.titleStyle,
    subtitleStyle: subtitleStyle ?? this.subtitleStyle,
    secondaryStyle: secondaryStyle ?? this.secondaryStyle,
    titleSize: titleSize ?? this.titleSize,
    subtitleSize: subtitleSize ?? this.subtitleSize,
    titleColor: titleColor ?? this.titleColor,
    subtitleColor: subtitleColor ?? this.subtitleColor,
    titleMaxLines: titleMaxLines ?? this.titleMaxLines,
    subtitleMaxLines: subtitleMaxLines ?? this.subtitleMaxLines,
    titleWeight: titleWeight ?? this.titleWeight,
    subtitleWeight: subtitleWeight ?? this.subtitleWeight,
  );
}