copyWith method

SFenceThemeData copyWith({
  1. List<Color>? backgroundColors,
  2. List<Color>? hightlightedColors,
  3. double? height,
})

Implementation

SFenceThemeData copyWith({
  List<Color>? backgroundColors,
  List<Color>? hightlightedColors,
  double? height,
}) {
  return SFenceThemeData(
    backgroundColors: backgroundColors ?? this.backgroundColors,
    hightlightedColors: hightlightedColors ?? this.hightlightedColors,
    height: height ?? this.height,
  );
}