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
4d0520bb
Commit
4d0520bb
authored
Nov 18, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #450 from abarth/rename_statistics_box
Rename StatisticsBox to RenderStatisticsBox
parents
7d7e20fd
e69e6c3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
statistics_box.dart
packages/flutter/lib/src/rendering/statistics_box.dart
+2
-2
statistics_overlay.dart
packages/flutter/lib/src/widgets/statistics_overlay.dart
+2
-2
No files found.
packages/flutter/lib/src/rendering/statistics_box.dart
View file @
4d0520bb
...
...
@@ -5,9 +5,9 @@
import
'box.dart'
;
import
'object.dart'
;
class
StatisticsBox
extends
RenderBox
{
class
Render
StatisticsBox
extends
RenderBox
{
StatisticsBox
({
int
optionsMask:
0
,
int
rasterizerThreshold:
0
})
Render
StatisticsBox
({
int
optionsMask:
0
,
int
rasterizerThreshold:
0
})
:
_optionsMask
=
optionsMask
,
_rasterizerThreshold
=
rasterizerThreshold
;
...
...
packages/flutter/lib/src/widgets/statistics_overlay.dart
View file @
4d0520bb
...
...
@@ -83,12 +83,12 @@ class StatisticsOverlay extends LeafRenderObjectWidget {
/// how many frame intervals).
final
int
rasterizerThreshold
;
StatisticsBox
createRenderObject
()
=>
new
StatisticsBox
(
RenderStatisticsBox
createRenderObject
()
=>
new
Render
StatisticsBox
(
optionsMask:
optionsMask
,
rasterizerThreshold:
rasterizerThreshold
);
void
updateRenderObject
(
StatisticsBox
renderObject
,
RenderObjectWidget
oldWidget
)
{
void
updateRenderObject
(
Render
StatisticsBox
renderObject
,
RenderObjectWidget
oldWidget
)
{
renderObject
.
optionsMask
=
optionsMask
;
renderObject
.
rasterizerThreshold
=
rasterizerThreshold
;
}
...
...
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