copyWith method

NavigationTheme copyWith({
  1. NavigationType? type,
  2. double? sidebarSpacing,
  3. double? railRightPadding,
  4. double? railTopPadding,
  5. bool? endSide,
  6. bool? drawerTransformsBackdrop,
})

Implementation

NavigationTheme copyWith({
  NavigationType? type,
  double? sidebarSpacing,
  double? railRightPadding,
  double? railTopPadding,
  bool? endSide,
  bool? drawerTransformsBackdrop,
}) =>
    NavigationTheme(
      type: type ?? this.type,
      sidebarSpacing: sidebarSpacing ?? this.sidebarSpacing,
      railRightPadding: railRightPadding ?? this.railRightPadding,
      railTopPadding: railTopPadding ?? this.railTopPadding,
      endSide: endSide ?? this.endSide,
      drawerTransformsBackdrop:
          drawerTransformsBackdrop ?? this.drawerTransformsBackdrop,
    );