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
c794221f
Commit
c794221f
authored
Apr 21, 2017
by
Alexandre Ardhuin
Committed by
GitHub
Apr 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable lint prefer_adjacent_string_concatenation (#9493)
parent
9b250cb6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
.analysis_options
.analysis_options
+1
-1
.analysis_options_repo
.analysis_options_repo
+1
-1
dismissible.dart
packages/flutter/lib/src/widgets/dismissible.dart
+2
-2
text_field_test.dart
packages/flutter/test/material/text_field_test.dart
+2
-2
No files found.
.analysis_options
View file @
c794221f
...
...
@@ -90,7 +90,7 @@ linter:
- package_api_docs
- package_prefixed_library_names
# - parameter_assignments # we do this commonly
# - prefer_adjacent_string_concatenation # not yet tested
- prefer_adjacent_string_concatenation
- prefer_collection_literals
- prefer_const_constructors
- prefer_contains
...
...
.analysis_options_repo
View file @
c794221f
...
...
@@ -88,7 +88,7 @@ linter:
- package_api_docs
- package_prefixed_library_names
# - parameter_assignments # we do this commonly
# - prefer_adjacent_string_concatenation # not yet tested
- prefer_adjacent_string_concatenation
- prefer_collection_literals
- prefer_const_constructors
- prefer_contains
...
...
packages/flutter/lib/src/widgets/dismissible.dart
View file @
c794221f
...
...
@@ -377,8 +377,8 @@ class _DismissibleState extends State<Dismissible> with TickerProviderStateMixin
if
(
_resizeAnimation
.
status
!=
AnimationStatus
.
forward
)
{
assert
(
_resizeAnimation
.
status
==
AnimationStatus
.
completed
);
throw
new
FlutterError
(
'A dismissed Dismissible widget is still part of the tree.
\n
'
+
'Make sure to implement the onDismissed handler and to immediately remove the Dismissible
\n
'
+
'A dismissed Dismissible widget is still part of the tree.
\n
'
'Make sure to implement the onDismissed handler and to immediately remove the Dismissible
\n
'
'widget from the application once that handler has fired.'
);
}
...
...
packages/flutter/test/material/text_field_test.dart
View file @
c794221f
...
...
@@ -40,8 +40,8 @@ void main() {
SystemChannels
.
platform
.
setMockMethodCallHandler
(
mockClipboard
.
handleMethodCall
);
const
String
kThreeLines
=
'First line of text is '
+
'Second line goes until '
+
'First line of text is '
'Second line goes until '
'Third line of stuff '
;
const
String
kFourLines
=
kThreeLines
+
...
...
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