bandModeFor function
The band's mode by its drag direction (interaction-core D1): left to right is a window, right to left a crossing.
Implementation
BandMode bandModeFor(Offset start, Offset end) =>
end.dx >= start.dx ? BandMode.window : BandMode.crossing;