copyWith method
ResizableDraggerTheme
copyWith({
- ValueGetter<
Color?> ? color, - ValueGetter<
double?> ? borderRadius, - ValueGetter<
double?> ? width, - ValueGetter<
double?> ? height, - ValueGetter<
double?> ? iconSize, - ValueGetter<
Color?> ? iconColor,
Implementation
ResizableDraggerTheme copyWith({
ValueGetter<Color?>? color,
ValueGetter<double?>? borderRadius,
ValueGetter<double?>? width,
ValueGetter<double?>? height,
ValueGetter<double?>? iconSize,
ValueGetter<Color?>? iconColor,
}) {
return ResizableDraggerTheme(
color: color == null ? this.color : color(),
borderRadius: borderRadius == null ? this.borderRadius : borderRadius(),
width: width == null ? this.width : width(),
height: height == null ? this.height : height(),
iconSize: iconSize == null ? this.iconSize : iconSize(),
iconColor: iconColor == null ? this.iconColor : iconColor(),
);
}