Skip to content

Move Brightness to dart:ui #27479

@matthew-carroll

Description

@matthew-carroll

Brightness is currently defined within system_chrome.dart, which is part of services in the framework.

Brightness is needed for reporting platformBrightness from the platform, which requires the definition of Brightness to be available within the engine.

This ticket is to move the definition of Brightness to dart:ui within the engine and then add an export back to system_chrome.dart to stay backward compatible.

Metadata

Metadata

Labels

engineflutter/engine related. See also e: labels.frameworkflutter/packages/flutter repository. See also f: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions