copyWith method
- double? dx,
- bool? isEnd,
- SelectionExtendDirection? direction,
Makes a copy of this object with its property replaced with the new values.
Implementation
DirectionallyExtendSelectionEvent copyWith({
double? dx,
bool? isEnd,
SelectionExtendDirection? direction,
}) {
return DirectionallyExtendSelectionEvent(
dx: dx ?? this.dx,
isEnd: isEnd ?? this.isEnd,
direction: direction ?? this.direction,
);
}