mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 05:32:26 +08:00
@ -59,3 +59,13 @@ Color getDarkModeColor(Color col) {
|
||||
kColorWhite,
|
||||
);
|
||||
}
|
||||
|
||||
double? getJsonPreviewerMaxRootNodeWidth(double w) {
|
||||
if (w < 300) {
|
||||
return 150;
|
||||
}
|
||||
if (w < 400) {
|
||||
return 200;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user