copyWith method
SkeletonListTileStyle
copyWith({
- bool? hasLeading,
- SkeletonAvatarStyle? leadingStyle,
- SkeletonLineStyle? titleStyle,
- bool? hasSubtitle,
- SkeletonLineStyle? subtitleStyle,
- EdgeInsetsGeometry? padding,
- double? contentSpacing,
- 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,
);
}