copyWith method
- @useResult
- IconThemeData? iconStyle,
- Color? background,
- Duration? enterDuration,
- double? pixelsPerSecond,
Returns a copy of this FSelectScrollHandleStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FSelectScrollHandleStyle.iconStyle - The handle icon's style.
- FSelectScrollHandleStyle.background - The background color.
- FSelectScrollHandleStyle.enterDuration - The duration to wait before scrolling.
- FSelectScrollHandleStyle.pixelsPerSecond - The number of pixels to scroll per second.
Implementation
@useResult
FSelectScrollHandleStyle copyWith({
IconThemeData? iconStyle,
Color? background,
Duration? enterDuration,
double? pixelsPerSecond,
}) => FSelectScrollHandleStyle(
iconStyle: iconStyle ?? this.iconStyle,
background: background ?? this.background,
enterDuration: enterDuration ?? this.enterDuration,
pixelsPerSecond: pixelsPerSecond ?? this.pixelsPerSecond,
);