Repository: flutter
Issue: Null check operator used on a null value in object.dart:2953
Labels: c: crash,framework,a: production,a: null-safety,P2,team-framework,triaged-framework

## Details

Couldn't reproduce the issue locally. Below is error log from customer's device suggesting context menu issue. We don't have selectable texts within the app except input fields, so likely happened during editing attempt.

Flutter 3.7.6
iOS 13.7 ~ iPhone 6s Plus

## Logs

<details>
<summary>Logs</summary>

```
0   RenderObject.getTransformTo (package:flutter/src/rendering/object.dart:2953)
1   RenderBox.localToGlobal (package:flutter/src/rendering/box.dart:2661)
2   SelectionOverlay.showToolbar.<anonymous closure> (package:flutter/src/widgets/text_selection.dart:1343)
3   ContextMenuController.show.<anonymous closure> (package:flutter/src/widgets/context_menu_controller.dart:59)
4   _OverlayEntryWidgetState.build (package:flutter/src/widgets/overlay.dart:259)
5   StatefulElement.build (package:flutter/src/widgets/framework.dart:5080)
6   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4968)
7   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
8   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
9   StatefulElement.update (package:flutter/src/widgets/framework.dart:5156)
10   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
11   RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5981)
12   MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6537)
13   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
14   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
15   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
16   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
17   StatefulElement.update (package:flutter/src/widgets/framework.dart:5156)
18   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
19   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
20   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
21   ProxyElement.update (package:flutter/src/widgets/framework.dart:5301)
22   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
23   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
24   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
25   ProxyElement.update (package:flutter/src/widgets/framework.dart:5301)
26   _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107)
27   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
28   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
29   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
30   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
31   StatefulElement.update (package:flutter/src/widgets/framework.dart:5156)
32   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
33   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
34   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
35   ProxyElement.update (package:flutter/src/widgets/framework.dart:5301)
36   _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107)
37   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
38   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
39   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
40   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
41   StatefulElement.update (package:flutter/src/widgets/framework.dart:5156)
42   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
43   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
44   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
45   ProxyElement.update (package:flutter/src/widgets/framework.dart:5301)
46   Element.updateChild (package:flutter/src/widgets/framework.dart:3660)
47   ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4993)
48   StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5133)
49   Element.rebuild (package:flutter/src/widgets/framework.dart:4690)
```

</details>