Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
9b053dd0
Unverified
Commit
9b053dd0
authored
Feb 05, 2019
by
Matt Carroll
Committed by
GitHub
Feb 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move Brightness to dart:ui in the engine (#27479). (#27481)
parent
8d5e18e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
15 deletions
+2
-15
system_chrome.dart
packages/flutter/lib/src/services/system_chrome.dart
+2
-15
No files found.
packages/flutter/lib/src/services/system_chrome.dart
View file @
9b053dd0
...
...
@@ -9,6 +9,8 @@ import 'package:flutter/foundation.dart';
import
'system_channels.dart'
;
export
'dart:ui'
show
Brightness
;
/// Specifies a particular device orientation.
///
/// To determine which values correspond to which orientations, first position
...
...
@@ -78,21 +80,6 @@ enum SystemUiOverlay {
bottom
,
}
/// Describes the contrast needs of a color.
enum
Brightness
{
/// The color is dark and will require a light text color to achieve readable
/// contrast.
///
/// For example, the color might be dark grey, requiring white text.
dark
,
/// The color is light and will require a dark text color to achieve readable
/// contrast.
///
/// For example, the color might be bright white, requiring black text.
light
,
}
/// Specifies a preference for the style of the system overlays.
///
/// Used by [SystemChrome.setSystemUIOverlayStyle].
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment