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
17372335
Unverified
Commit
17372335
authored
Feb 23, 2023
by
Michael Goderbauer
Committed by
GitHub
Feb 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo (#121291)
parent
a50bdcfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
widget_inspector.dart
packages/flutter/lib/src/widgets/widget_inspector.dart
+7
-7
No files found.
packages/flutter/lib/src/widgets/widget_inspector.dart
View file @
17372335
...
...
@@ -932,7 +932,7 @@ mixin WidgetInspectorService {
groupName:
_consoleObjectGroup
,
subtreeDepth:
5
,
includeProperties:
true
,
maxDescend
e
ntsTruncatableNode:
5
,
maxDescend
a
ntsTruncatableNode:
5
,
service:
this
,
),
)!;
...
...
@@ -3566,7 +3566,7 @@ class InspectorSerializationDelegate implements DiagnosticsSerializationDelegate
InspectorSerializationDelegate
({
this
.
groupName
,
this
.
summaryTree
=
false
,
this
.
maxDescend
e
ntsTruncatableNode
=
-
1
,
this
.
maxDescend
a
ntsTruncatableNode
=
-
1
,
this
.
expandPropertyValues
=
true
,
this
.
subtreeDepth
=
1
,
this
.
includeProperties
=
false
,
...
...
@@ -3588,7 +3588,7 @@ class InspectorSerializationDelegate implements DiagnosticsSerializationDelegate
final
bool
summaryTree
;
/// Maximum descendents of [DiagnosticsNode] before truncating.
final
int
maxDescend
e
ntsTruncatableNode
;
final
int
maxDescend
a
ntsTruncatableNode
;
@override
final
bool
includeProperties
;
...
...
@@ -3663,10 +3663,10 @@ class InspectorSerializationDelegate implements DiagnosticsSerializationDelegate
@override
List
<
DiagnosticsNode
>
truncateNodesList
(
List
<
DiagnosticsNode
>
nodes
,
DiagnosticsNode
?
owner
)
{
if
(
maxDescend
e
ntsTruncatableNode
>=
0
&&
if
(
maxDescend
a
ntsTruncatableNode
>=
0
&&
owner
!.
allowTruncate
==
true
&&
nodes
.
length
>
maxDescend
e
ntsTruncatableNode
)
{
nodes
=
service
.
_truncateNodes
(
nodes
,
maxDescend
e
ntsTruncatableNode
);
nodes
.
length
>
maxDescend
a
ntsTruncatableNode
)
{
nodes
=
service
.
_truncateNodes
(
nodes
,
maxDescend
a
ntsTruncatableNode
);
}
return
nodes
;
}
...
...
@@ -3676,7 +3676,7 @@ class InspectorSerializationDelegate implements DiagnosticsSerializationDelegate
return
InspectorSerializationDelegate
(
groupName:
groupName
,
summaryTree:
summaryTree
,
maxDescend
entsTruncatableNode:
maxDescende
ntsTruncatableNode
,
maxDescend
antsTruncatableNode:
maxDescenda
ntsTruncatableNode
,
expandPropertyValues:
expandPropertyValues
??
this
.
expandPropertyValues
,
subtreeDepth:
subtreeDepth
??
this
.
subtreeDepth
,
includeProperties:
includeProperties
??
this
.
includeProperties
,
...
...
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