isAttached property
bool
isAttached
Determine if the panelController is attached to an instance of the SlidingUpPanel (this property must return true before any other functions can be used)
Implementation
bool get isAttached => _panelState != null;