copyWith property
FxPaneDividerStyleCopyWithFn
get
copyWith
Implementation
FxPaneDividerStyleCopyWithFn get copyWith {
final instance = this;
FxPaneDividerStyle copyWithFn({
Object? color = _fxPaneDividerStyleCopyWithPlaceholder,
Object? textStyle = _fxPaneDividerStyleCopyWithPlaceholder,
Object? decoration = _fxPaneDividerStyleCopyWithPlaceholder,
Object align = _fxPaneDividerStyleCopyWithPlaceholder,
Object padding = _fxPaneDividerStyleCopyWithPlaceholder,
Object margin = _fxPaneDividerStyleCopyWithPlaceholder,
Object spacing = _fxPaneDividerStyleCopyWithPlaceholder,
Object dashSpace = _fxPaneDividerStyleCopyWithPlaceholder,
Object dashWidth = _fxPaneDividerStyleCopyWithPlaceholder,
Object strokeWidth = _fxPaneDividerStyleCopyWithPlaceholder,
}) {
return FxPaneDividerStyle(
color: identical(color, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.color
: color as Color?,
textStyle: identical(textStyle, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.textStyle
: textStyle as TextStyle?,
decoration:
identical(decoration, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.decoration
: decoration as BoxDecoration?,
align: identical(align, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.align
: align as TextAlign,
padding: identical(padding, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.padding
: padding as EdgeInsets,
margin: identical(margin, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.margin
: margin as EdgeInsets,
spacing: identical(spacing, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.spacing
: spacing as double,
dashSpace: identical(dashSpace, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.dashSpace
: dashSpace as double,
dashWidth: identical(dashWidth, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.dashWidth
: dashWidth as double,
strokeWidth:
identical(strokeWidth, _fxPaneDividerStyleCopyWithPlaceholder)
? instance.strokeWidth
: strokeWidth as double,
);
}
return copyWithFn as FxPaneDividerStyleCopyWithFn;
}