copyWith method

TabPanelThemeData copyWith({
  1. Color? dividerColor,
  2. double? dividerWidth,
})

Creates a copy of this object with the given fields replaced with the new values.

Implementation

TabPanelThemeData copyWith({
  Color? dividerColor,
  double? dividerWidth,
}) {
  return TabPanelThemeData(
    dividerColor: dividerColor ?? this.dividerColor,
    dividerWidth: dividerWidth ?? this.dividerWidth,
  );
}