copyWith method
DropdownMenuProps
copyWith({
- String? id,
- Widget? trigger,
- List<
ArcaneMenuItem> ? items, - DropdownAlignment? alignment,
- double? width,
- bool? keepOpenOnAction,
- bool? initiallyOpen,
Implementation
DropdownMenuProps copyWith({
String? id,
Widget? trigger,
List<ArcaneMenuItem>? items,
DropdownAlignment? alignment,
double? width,
bool? keepOpenOnAction,
bool? initiallyOpen,
}) {
return DropdownMenuProps(
id: id ?? this.id,
trigger: trigger ?? this.trigger,
items: items ?? this.items,
alignment: alignment ?? this.alignment,
width: width ?? this.width,
keepOpenOnAction: keepOpenOnAction ?? this.keepOpenOnAction,
initiallyOpen: initiallyOpen ?? this.initiallyOpen,
);
}