This particular line is kind of scary but somehow the dart VM works like magic...the short-circuit evaluation is kicking in. _pendingExpansionTimer is only null once, before the first drag over has been made. If it's null, the dart VM is smart enough to jump right into the conditional body without trying to call .isActive on a null reference