copyWith method

FxPane copyWith({
  1. bool? showDock,
  2. bool? showAppBar,
  3. bool? showDrawer,
  4. bool? extendBody,
  5. bool? showEndDrawer,
  6. bool? showFloatingActionButton,
  7. FxPaneDividerStyle? dividerStyle,
  8. FxTileBuilder<FxTile>? tileBuilder,
  9. FxTileTrailingBuilder? trailingBuilder,
  10. FxTileIconBuilder? iconBuilder,
})

Implementation

FxPane copyWith({
  bool? showDock,
  bool? showAppBar,
  bool? showDrawer,
  bool? extendBody,
  bool? showEndDrawer,
  bool? showFloatingActionButton,
  FxPaneDividerStyle? dividerStyle,
  FxTileBuilder? tileBuilder,
  FxTileTrailingBuilder? trailingBuilder,
  FxTileIconBuilder? iconBuilder,
}) => FxPane._(
  key: key,
  site: site,
  type: type,
  icon: icon,
  title: title,
  builder: builder,
  subtitle: subtitle,
  showDock: showDock ?? this.showDock,
  onPressed: onPressed,
  showAppBar: showAppBar ?? this.showAppBar,
  showDrawer: showDrawer ?? this.showDrawer,
  extendBody: extendBody ?? this.extendBody,
  tileBuilder: tileBuilder ?? super.tileBuilder,
  iconBuilder: iconBuilder ?? super.iconBuilder,
  dividerStyle: dividerStyle ?? this.dividerStyle,
  showEndDrawer: showEndDrawer ?? this.showEndDrawer,
  trailingBuilder: trailingBuilder ?? super.trailingBuilder,
  showFloatingActionButton: showFloatingActionButton ?? this.showFloatingActionButton,
);