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
d3b41867
Commit
d3b41867
authored
Jun 14, 2016
by
pq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Review nits.
parent
d81212a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
logic.dart
examples/flutter_gallery/lib/demo/calculator/logic.dart
+2
-2
raised_button.dart
packages/flutter/lib/src/material/raised_button.dart
+1
-1
No files found.
examples/flutter_gallery/lib/demo/calculator/logic.dart
View file @
d3b41867
...
...
@@ -259,9 +259,9 @@ class CalcExpression {
case
ExpressionState
.
NumberWithPoint
:
case
ExpressionState
.
Result
:
return
appendOperation
(
Operation
.
Subtraction
);
default
:
return
null
;
}
assert
(
state
!=
null
);
return
null
;
}
/// Computes the result of the current expression and returns a new
...
...
packages/flutter/lib/src/material/raised_button.dart
View file @
d3b41867
...
...
@@ -99,7 +99,7 @@ class RaisedButton extends StatelessWidget {
if
(
disabledColor
!=
null
)
return
disabledColor
;
Brightness
brightness
=
Theme
.
of
(
context
).
brightness
;
switch
(
Theme
.
of
(
context
).
brightness
)
{
switch
(
brightness
)
{
case
Brightness
.
light
:
return
Colors
.
black12
;
case
Brightness
.
dark
:
...
...
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