getFoldWidgetOffsetX method
Implementation
double getFoldWidgetOffsetX(
double foldWidgetWidth, double offsetX, double screenWidth) {
if (!foldWidgetInEnd) {
return offsetX;
}
return screenWidth - foldWidgetWidth;
}
double getFoldWidgetOffsetX(
double foldWidgetWidth, double offsetX, double screenWidth) {
if (!foldWidgetInEnd) {
return offsetX;
}
return screenWidth - foldWidgetWidth;
}