mirror of
https://github.com/foss42/apidash.git
synced 2025-06-01 14:58:28 +08:00
fix: ui tests
This commit is contained in:
@ -69,3 +69,14 @@ double? getJsonPreviewerMaxRootNodeWidth(double w) {
|
||||
}
|
||||
return w - 150;
|
||||
}
|
||||
|
||||
GlobalKey<ScaffoldState> getScaffoldKey(int railIdx) {
|
||||
switch (railIdx) {
|
||||
case 1:
|
||||
return kEnvScaffoldKey;
|
||||
case 2:
|
||||
return kHisScaffoldKey;
|
||||
default:
|
||||
return kHomeScaffoldKey;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user