zhongliugo fc6d13a1b2
[web] Use defensive null check in text editing placeElement (#180795)
Fixes #178619

Uses defensive null check (?.) instead of null assertion (!) when
calling focusWithoutScroll() on focusedFormElement in
GloballyPositionedTextEditingStrategy.placeElement().

This prevents a crash that can occur due to a race condition where
hasAutofillGroup returns true but focusedFormElement is null by the time
it's accessed.
2026-01-29 16:15:43 +00:00
..
.gn

Flutter Engine

The Flutter Engine is a portable runtime for hosting Flutter applications. It implements Flutter's core libraries, including animation and graphics, file and network I/O, accessibility support, plugin architecture, and a Dart runtime and compile toolchain. Most developers will interact with Flutter via the Flutter Framework, which provides a modern, reactive framework, and a rich set of platform, layout and foundation widgets.

More tooling is available to make development experiences easier:

Target Tool
Web felt
Mobile or Desktop et

To learn about running tests, see testing the engine.