File tree Expand file tree Collapse file tree 8 files changed +0
-18
lines changed
packages/devtools_app/lib/src
inspector/layout_explorer/flex
inspector_v2/layout_explorer/flex Expand file tree Collapse file tree 8 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ enum DiffTreeType {
37
37
case DiffTreeType .decreaseOnly:
38
38
return 'Decrease Only' ;
39
39
case DiffTreeType .combined:
40
- default :
41
40
return 'Combined' ;
42
41
}
43
42
}
@@ -55,7 +54,6 @@ enum AppUnit {
55
54
case AppUnit .mainOnly:
56
55
return _mainNodeName;
57
56
case AppUnit .entireApp:
58
- default :
59
57
return _entireAppNodeName;
60
58
}
61
59
}
@@ -185,7 +183,6 @@ class AppSizeController {
185
183
case AppUnit .deferredOnly:
186
184
return _deferredDiffTreeMap;
187
185
case AppUnit .entireApp:
188
- default :
189
186
return _diffTreeMap;
190
187
}
191
188
}
@@ -205,8 +202,6 @@ class AppSizeController {
205
202
return diffMap.decreaseOnly;
206
203
case DiffTreeType .combined:
207
204
return diffMap.combined;
208
- default :
209
- return diffMap.combined;
210
205
}
211
206
}
212
207
@@ -221,7 +216,6 @@ class AppSizeController {
221
216
case AppUnit .mainOnly:
222
217
return _mainOnly;
223
218
case AppUnit .entireApp:
224
- default :
225
219
return _entireApp;
226
220
}
227
221
}
Original file line number Diff line number Diff line change @@ -197,7 +197,6 @@ extension AxisExtension on Axis {
197
197
case Axis .horizontal:
198
198
return 'Row' ;
199
199
case Axis .vertical:
200
- default :
201
200
return 'Column' ;
202
201
}
203
202
}
Original file line number Diff line number Diff line change @@ -197,7 +197,6 @@ extension AxisExtension on Axis {
197
197
case Axis .horizontal:
198
198
return 'Row' ;
199
199
case Axis .vertical:
200
- default :
201
200
return 'Column' ;
202
201
}
203
202
}
Original file line number Diff line number Diff line change @@ -698,10 +698,6 @@ class ChartPainter extends CustomPainter {
698
698
);
699
699
canvas.drawPath (path, paintFirst);
700
700
break ;
701
- default :
702
- final message = 'Unknown symbol ${characteristics .symbol }' ;
703
- assert (false , message);
704
- _log.shout (message);
705
701
}
706
702
}
707
703
Original file line number Diff line number Diff line change @@ -123,8 +123,6 @@ class _TreemapState extends State<Treemap> {
123
123
}
124
124
}
125
125
return pivotIndex;
126
- default :
127
- return - 1 ;
128
126
}
129
127
}
130
128
Original file line number Diff line number Diff line change @@ -518,7 +518,6 @@ class TimeRange {
518
518
case TimeUnit .microseconds:
519
519
return '[${_start ?.inMicroseconds } μs - ${end ?.inMicroseconds } μs]' ;
520
520
case TimeUnit .milliseconds:
521
- default :
522
521
return '[${_start ?.inMilliseconds } ms - ${end ?.inMilliseconds } ms]' ;
523
522
}
524
523
}
Original file line number Diff line number Diff line change @@ -365,7 +365,6 @@ class _TableRowState<T> extends State<TableRow<T>>
365
365
case ColumnAlignment .right:
366
366
return Alignment .centerRight;
367
367
case ColumnAlignment .left:
368
- default :
369
368
return Alignment .centerLeft;
370
369
}
371
370
}
Original file line number Diff line number Diff line change @@ -175,7 +175,6 @@ extension ColumnDataExtension<T> on ColumnData<T> {
175
175
case ColumnAlignment .right:
176
176
return MainAxisAlignment .end;
177
177
case ColumnAlignment .left:
178
- default :
179
178
return MainAxisAlignment .start;
180
179
}
181
180
}
@@ -187,7 +186,6 @@ extension ColumnDataExtension<T> on ColumnData<T> {
187
186
case ColumnAlignment .right:
188
187
return TextAlign .right;
189
188
case ColumnAlignment .left:
190
- default :
191
189
return TextAlign .left;
192
190
}
193
191
}
You can’t perform that action at this time.
0 commit comments