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
3d0b82eb
Commit
3d0b82eb
authored
Jul 22, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a null LayoutCallbackBuilderHandle in Release
parent
2c84154b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drawer.dart
packages/flutter/lib/widgets/drawer.dart
+0
-2
widget.dart
packages/flutter/lib/widgets/widget.dart
+3
-1
No files found.
packages/flutter/lib/widgets/drawer.dart
View file @
3d0b82eb
...
...
@@ -6,8 +6,6 @@ import 'dart:sky' as sky;
import
'package:sky/animation/animated_value.dart'
;
import
'package:sky/animation/animation_performance.dart'
;
import
'package:sky/animation/curves.dart'
;
import
'package:sky/base/lerp.dart'
;
import
'package:sky/theme/shadows.dart'
;
import
'package:sky/theme/colors.dart'
as
colors
;
import
'package:sky/widgets/animated_component.dart'
;
...
...
packages/flutter/lib/widgets/widget.dart
View file @
3d0b82eb
...
...
@@ -631,11 +631,13 @@ int _inLayoutCallbackBuilder = 0;
class
LayoutCallbackBuilderHandle
{
bool
_active
=
true
;
}
LayoutCallbackBuilderHandle
enterLayoutCallbackBuilder
(
)
{
LayoutCallbackBuilderHandle
result
;
assert
(()
{
_inLayoutCallbackBuilder
+=
1
;
result
=
new
LayoutCallbackBuilderHandle
();
return
true
;
});
return
new
LayoutCallbackBuilderHandle
()
;
return
result
;
}
void
exitLayoutCallbackBuilder
(
LayoutCallbackBuilderHandle
handle
)
{
assert
(()
{
...
...
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