// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'top_navigation_bar.dart';

// **************************************************************************
// ComponentCopyWithGenerator
// **************************************************************************

class $TopNavigationBarCWProxyImpl
    implements $TopNavigationBarComponentCWProxy {
  const $TopNavigationBarCWProxyImpl(this._value);
  final TopNavigationBar _value;
  @override
  TopNavigationBar navigationItems(List<TextWrapper>? navigationItems) =>
      this(navigationItems: navigationItems);
  @override
  TopNavigationBar onTap(void Function(BuildContext, int)? onTap) =>
      this(onTap: onTap);
  @override
  TopNavigationBar currentIndex(int? currentIndex) =>
      this(currentIndex: currentIndex);
  @override
  TopNavigationBar shape(ShapeBorder? shape) => this(shape: shape);
  @override
  TopNavigationBar systemOverlayStyle(
          SystemUiOverlayStyle? systemOverlayStyle) =>
      this(systemOverlayStyle: systemOverlayStyle);
  @override
  TopNavigationBar automaticallyImplyLeading(bool? automaticallyImplyLeading) =>
      this(automaticallyImplyLeading: automaticallyImplyLeading);
  @override
  TopNavigationBar flexibleSpace(Widget? flexibleSpace) =>
      this(flexibleSpace: flexibleSpace);
  @override
  TopNavigationBar bottom(PreferredSizeWidget? bottom) => this(bottom: bottom);
  @override
  TopNavigationBar elevation(double? elevation) => this(elevation: elevation);
  @override
  TopNavigationBar scrolledUnderElevation(double? scrolledUnderElevation) =>
      this(scrolledUnderElevation: scrolledUnderElevation);
  @override
  TopNavigationBar shadowColor(Color? shadowColor) =>
      this(shadowColor: shadowColor);
  @override
  TopNavigationBar surfaceTintColor(Color? surfaceTintColor) =>
      this(surfaceTintColor: surfaceTintColor);
  @override
  TopNavigationBar backgroundColor(MultiColor? backgroundColor) =>
      this(backgroundColor: backgroundColor);
  @override
  TopNavigationBar iconTheme(IconThemeData? iconTheme) =>
      this(iconTheme: iconTheme);
  @override
  TopNavigationBar primary(bool? primary) => this(primary: primary);
  @override
  TopNavigationBar excludeHeaderSemantics(bool? excludeHeaderSemantics) =>
      this(excludeHeaderSemantics: excludeHeaderSemantics);
  @override
  TopNavigationBar toolbarHeight(double? toolbarHeight) =>
      this(toolbarHeight: toolbarHeight);
  @override
  TopNavigationBar leadingWidth(double? leadingWidth) =>
      this(leadingWidth: leadingWidth);
  @override
  TopNavigationBar leading(Widget? leading) => this(leading: leading);
  @override
  TopNavigationBar actions(List<Widget>? actions) => this(actions: actions);
  @override
  TopNavigationBar expandedWidget(List<Widget>? expandedWidget) =>
      this(expandedWidget: expandedWidget);
  @override
  TopNavigationBar key(Key? key) => this(key: key);
  @override
  TopNavigationBar call({
    List<TextWrapper>? navigationItems,
    void Function(BuildContext, int)? onTap,
    int? currentIndex,
    ShapeBorder? shape,
    SystemUiOverlayStyle? systemOverlayStyle,
    bool? automaticallyImplyLeading,
    Widget? flexibleSpace,
    PreferredSizeWidget? bottom,
    double? elevation,
    double? scrolledUnderElevation,
    Color? shadowColor,
    Color? surfaceTintColor,
    MultiColor? backgroundColor,
    IconThemeData? iconTheme,
    bool? primary,
    bool? excludeHeaderSemantics,
    double? toolbarHeight,
    double? leadingWidth,
    Widget? leading,
    List<Widget>? actions,
    List<Widget>? expandedWidget,
    Key? key,
  }) =>
      TopNavigationBar(
        navigationItems: navigationItems ?? _value.navigationItems,
        onTap: onTap ?? _value.onTap,
        currentIndex: currentIndex ?? _value.currentIndex,
        systemOverlayStyle: systemOverlayStyle ?? _value.systemOverlayStyle,
        automaticallyImplyLeading:
            automaticallyImplyLeading ?? _value.automaticallyImplyLeading,
        flexibleSpace: flexibleSpace ?? _value.flexibleSpace,
        bottom: bottom ?? _value.bottom,
        elevation: elevation ?? _value.elevation,
        scrolledUnderElevation:
            scrolledUnderElevation ?? _value.scrolledUnderElevation,
        shadowColor: shadowColor ?? _value.shadowColor,
        surfaceTintColor: surfaceTintColor ?? _value.surfaceTintColor,
        backgroundColor: backgroundColor ?? _value.backgroundColor,
        iconTheme: iconTheme ?? _value.iconTheme,
        primary: primary ?? _value.primary,
        excludeHeaderSemantics:
            excludeHeaderSemantics ?? _value.excludeHeaderSemantics,
        toolbarHeight: toolbarHeight ?? _value.toolbarHeight,
        leadingWidth: leadingWidth ?? _value.leadingWidth,
        leading: leading ?? _value.leading,
        actions: actions ?? _value.actions,
        shape: shape ?? _value.shape,
        expandedWidget: expandedWidget ?? _value.expandedWidget,
        key: key ?? _value.key,
      );
}

mixin $TopNavigationBarCWMixin on Component {
  $TopNavigationBarComponentCWProxy get copyWith =>
      $TopNavigationBarCWProxyImpl(this as TopNavigationBar);
}
