copyWith method

  1. @override
TabBarSpec copyWith({
  1. StyleSpec<FlexBoxSpec>? container,
})
inherited

Creates a copy of this spec with the given fields replaced by the non-null parameter values.

Implementation

@override
TabBarSpec copyWith({StyleSpec<FlexBoxSpec>? container}) {
  return TabBarSpec(container: container ?? this.container);
}