copyWith method

ResizableDraggerTheme copyWith({
  1. ValueGetter<Color?>? color,
  2. ValueGetter<double?>? borderRadius,
  3. ValueGetter<double?>? width,
  4. ValueGetter<double?>? height,
  5. ValueGetter<double?>? iconSize,
  6. 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(),
  );
}