File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,6 @@ packages:
57
57
relative: true
58
58
source: path
59
59
version: "1.2.8+4"
60
- d_stack_spy:
61
- dependency: "direct dev"
62
- description:
63
- path: "../../d_stack_spy"
64
- relative: true
65
- source: path
66
- version: "0.0.1"
67
60
fake_async:
68
61
dependency: transitive
69
62
description:
@@ -165,4 +158,4 @@ packages:
165
158
version: "2.1.0-nullsafety.3"
166
159
sdks:
167
160
dart: ">=2.10.0-110 <2.11.0"
168
- flutter: ">=1.20.0 <2.0 .0"
161
+ flutter: ">=1.17 .0"
Original file line number Diff line number Diff line change @@ -387,6 +387,7 @@ - (void)operationNode:(DNode *)node {
387
387
@" homePage" : @(node.isFlutterHomePage ),
388
388
@" boundary" : @(node.boundary ),
389
389
@" animated" : @(node.animated ),
390
+ @" identifier" : node.identifier != nil ? node.identifier : @" unknown" ,
390
391
};
391
392
} else {
392
393
params = @{};
Original file line number Diff line number Diff line change @@ -65,13 +65,17 @@ class DNode {
65
65
/// 是否为临界节点
66
66
bool boundary;
67
67
68
+ /// 页面唯一id
69
+ String identifier;
70
+
68
71
DNode .fromJson (Map json) {
69
72
target = json["target" ];
70
73
action = json["action" ];
71
74
params = json["params" ];
72
75
homePage = json["homePage" ] ?? false ;
73
76
animated = json["animated" ] ?? true ;
74
77
boundary = json["boundary" ] ?? false ;
78
+ identifier = json["identifier" ];
75
79
String pageString = json["pageType" ];
76
80
if (pageString.toLowerCase () == "flutter" ) {
77
81
pageType = PageType .flutter;
@@ -88,6 +92,7 @@ class DNode {
88
92
json["homePage" ] = this .homePage;
89
93
json["boundary" ] = this .boundary;
90
94
json["animated" ] = this .animated;
95
+ json["identifier" ] = this .identifier;
91
96
switch (this .pageType) {
92
97
case PageType .flutter:
93
98
{
You can’t perform that action at this time.
0 commit comments