private
static bool isSnap(double? snap) => snap == expanded || snap == headerFooterSnap || snap == headerSnap || snap == footerSnap;