Skip to content

Commit

Permalink
Update lib/src/helpers/extensions.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew authored Dec 7, 2023
1 parent 36b83fe commit 12f2633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/helpers/extensions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extension CanvasRenderingContext2DGlue on CanvasRenderingContext2D {
extension NodeGlue on Node {
set text(String s) => textContent = s;
Node append(Node other) => appendChild(other);
Node clone(bool? deep) => deep == null ? cloneNode() : cloneNode(deep);
Node clone(bool? deep) => cloneNode(deep ?? false);
}

extension EventGlue on MouseEvent {
Expand Down

0 comments on commit 12f2633

Please sign in to comment.