copyWith method

SkeletonListTileStyle copyWith({
  1. bool? hasLeading,
  2. SkeletonAvatarStyle? leadingStyle,
  3. SkeletonLineStyle? titleStyle,
  4. bool? hasSubtitle,
  5. SkeletonLineStyle? subtitleStyle,
  6. EdgeInsetsGeometry? padding,
  7. double? contentSpacing,
  8. double? verticalSpacing,
})

Implementation

SkeletonListTileStyle copyWith({
  bool? hasLeading,
  SkeletonAvatarStyle? leadingStyle,
  SkeletonLineStyle? titleStyle,
  bool? hasSubtitle,
  SkeletonLineStyle? subtitleStyle,
  EdgeInsetsGeometry? padding,
  double? contentSpacing,
  double? verticalSpacing,
}) {
  return SkeletonListTileStyle(
    hasLeading: hasLeading ?? this.hasLeading,
    leadingStyle: leadingStyle ?? this.leadingStyle,
    titleStyle: titleStyle ?? this.titleStyle,
    hasSubtitle: hasSubtitle ?? this.hasSubtitle,
    subtitleStyle: subtitleStyle ?? this.subtitleStyle,
    padding: padding ?? this.padding,
    contentSpacing: contentSpacing ?? this.contentSpacing,
    verticalSpacing: verticalSpacing ?? this.verticalSpacing,
  );
}