-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/d: examplesSample code and demosSample code and demosf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Description
As an aside, I noticed that since my system brightness is dark, some cupertino samples use dark mode as well. I wonder if we should just hardcode the theme to be light...
Originally posted by @guidezpl in #72926 (comment)
Currently, Cupertino examples adapt to system brightness, which the examples dark in the light API page theme.
| Light | Dark |
|---|---|
![]() |
![]() |
Solution
Add a hardcoded theme with Brightness.light in the examples
Metadata
Metadata
Assignees
Labels
d: api docsIssues with https://api.flutter.dev/Issues with https://api.flutter.dev/d: examplesSample code and demosSample code and demosf: cupertinoflutter/packages/flutter/cupertino repositoryflutter/packages/flutter/cupertino repositoryframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.
Type
Projects
Status
Done (PR merged)

