copyWith method

TabPaneTheme copyWith({
  1. ValueGetter<BorderRadiusGeometry?>? borderRadius,
  2. ValueGetter<Color?>? backgroundColor,
  3. ValueGetter<BorderSide?>? border,
  4. ValueGetter<double?>? barHeight,
})

Implementation

TabPaneTheme copyWith({
  ValueGetter<BorderRadiusGeometry?>? borderRadius,
  ValueGetter<Color?>? backgroundColor,
  ValueGetter<BorderSide?>? border,
  ValueGetter<double?>? barHeight,
}) {
  return TabPaneTheme(
    borderRadius: borderRadius == null ? this.borderRadius : borderRadius(),
    backgroundColor:
        backgroundColor == null ? this.backgroundColor : backgroundColor(),
    border: border == null ? this.border : border(),
    barHeight: barHeight == null ? this.barHeight : barHeight(),
  );
}