-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis enhancementrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Description
Is your feature request related to a problem? Please describe.
This line checks if the ThemeData.brightness is equal to Brightness.light:
This results in the following inline value:
Describe the solution you'd like
In the source code, it's very clear the value of the Brightness.light enum value. The Brightness.light = Brightness (Brightness.light) inline value is noisy verbosity that isn't helpful. I would consider not adding an inline value for raw enum values like this.
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis enhancementrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
