Unverified Commit cd2413c2 authored by Tomasz Gucio's avatar Tomasz Gucio Committed by GitHub

Avoid unnecessary lambdas in SelectionOverlay.showHandles() (#98912)

parent 3b05d806
......@@ -809,8 +809,8 @@ class SelectionOverlay {
return;
_handles = <OverlayEntry>[
OverlayEntry(builder: (BuildContext context) => _buildStartHandle(context)),
OverlayEntry(builder: (BuildContext context) => _buildEndHandle(context)),
OverlayEntry(builder: _buildStartHandle),
OverlayEntry(builder: _buildEndHandle),
];
Overlay.of(context, rootOverlay: true, debugRequiredFor: debugRequiredFor)!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment