copyWith method

FlDesignConfig copyWith({
  1. Size? size,
})

Implementation

FlDesignConfig copyWith({Size? size}) {
  return FlDesignConfig(
    margin: this.margin,
    body: this.body,
    deviceTarget: this.deviceTarget,
    size: size ?? Size.infinite,
    navigationRailWidth: this.navigationRailWidth,
    appbarHeight: this.appbarHeight,
    layoutColumns: this.layoutColumns,
    drawerWidth: this.drawerWidth,
    tabBarHeight: this.tabBarHeight,
    gutters: this.gutters,
  );
}