onAttachChange method
Implementation
void onAttachChange(bool b) {
// print('{$code}:change{$b}');
showing = b;
if (!showing) {
if (lastPosition != null) detach(lastPosition!, fake: true);
} else {
if (interceptedAttachPosition != null) attach(interceptedAttachPosition!);
}
}