copyWith method

StreamSplitButtonStyle copyWith({
  1. StreamButtonThemeStyle? buttonStyle,
  2. WidgetStateProperty<Color?>? separatorColor,
  3. double? separatorThickness,
  4. double? separatorHeight,
})
inherited

Implementation

StreamSplitButtonStyle copyWith({
  StreamButtonThemeStyle? buttonStyle,
  WidgetStateProperty<Color?>? separatorColor,
  double? separatorThickness,
  double? separatorHeight,
}) {
  final _this = (this as StreamSplitButtonStyle);

  return StreamSplitButtonStyle(
    buttonStyle: buttonStyle ?? _this.buttonStyle,
    separatorColor: separatorColor ?? _this.separatorColor,
    separatorThickness: separatorThickness ?? _this.separatorThickness,
    separatorHeight: separatorHeight ?? _this.separatorHeight,
  );
}