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
a5820011
Unverified
Commit
a5820011
authored
Feb 21, 2019
by
jslavitz
Committed by
GitHub
Feb 21, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds media query check in editable_text (#27955)
* media query check
parent
b557f3a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
editable_text.dart
packages/flutter/lib/src/widgets/editable_text.dart
+2
-0
No files found.
packages/flutter/lib/src/widgets/editable_text.dart
View file @
a5820011
...
@@ -14,6 +14,7 @@ import 'package:flutter/gestures.dart' show DragStartBehavior;
...
@@ -14,6 +14,7 @@ import 'package:flutter/gestures.dart' show DragStartBehavior;
import
'automatic_keep_alive.dart'
;
import
'automatic_keep_alive.dart'
;
import
'basic.dart'
;
import
'basic.dart'
;
import
'binding.dart'
;
import
'binding.dart'
;
import
'debug.dart'
;
import
'focus_manager.dart'
;
import
'focus_manager.dart'
;
import
'focus_scope.dart'
;
import
'focus_scope.dart'
;
import
'framework.dart'
;
import
'framework.dart'
;
...
@@ -1185,6 +1186,7 @@ class EditableTextState extends State<EditableText> with AutomaticKeepAliveClien
...
@@ -1185,6 +1186,7 @@ class EditableTextState extends State<EditableText> with AutomaticKeepAliveClien
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
assert
(
debugCheckHasMediaQuery
(
context
));
FocusScope
.
of
(
context
).
reparentIfNeeded
(
widget
.
focusNode
);
FocusScope
.
of
(
context
).
reparentIfNeeded
(
widget
.
focusNode
);
super
.
build
(
context
);
// See AutomaticKeepAliveClientMixin.
super
.
build
(
context
);
// See AutomaticKeepAliveClientMixin.
...
...
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