copyWith method

ActionIconThemeData copyWith({
  1. WidgetBuilder? backButtonIconBuilder,
  2. WidgetBuilder? closeButtonIconBuilder,
  3. WidgetBuilder? drawerButtonIconBuilder,
  4. WidgetBuilder? endDrawerButtonIconBuilder,
})

Creates a copy of this object but with the given fields replaced with the new values.

Implementation

ActionIconThemeData copyWith({
  WidgetBuilder? backButtonIconBuilder,
  WidgetBuilder? closeButtonIconBuilder,
  WidgetBuilder? drawerButtonIconBuilder,
  WidgetBuilder? endDrawerButtonIconBuilder,
}) {
  return ActionIconThemeData(
    backButtonIconBuilder: backButtonIconBuilder ?? this.backButtonIconBuilder,
    closeButtonIconBuilder: closeButtonIconBuilder ?? this.closeButtonIconBuilder,
    drawerButtonIconBuilder: drawerButtonIconBuilder ?? this.drawerButtonIconBuilder,
    endDrawerButtonIconBuilder: endDrawerButtonIconBuilder ?? this.endDrawerButtonIconBuilder,
  );
}