Skip to content

export Brightness from widgets #169294

Description

@Luckey-Elijah

Use case

I often don't use the cupertino or material libraries so I have to import the Brightness enum from foundation, services, or dart:ui. It would seem natural to have this exported from the core widgets library as well.

Proposal

Export the Brightness enum from widgets.dart

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterframeworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions