toggleListOverlayVisibility method
- @Deprecated('Use showListOverlay or hideListOverlay instead. A toggle cannot ' 'express intent when several gesture callbacks race to release the ' 'overlay: the redundant call inverts the state instead of being ignored.')
- DirectSelectList visibleList,
- double location
override
Implementation
@Deprecated('Use showListOverlay or hideListOverlay instead. A toggle cannot '
'express intent when several gesture callbacks race to release the '
'overlay: the redundant call inverts the state instead of being ignored.')
Future<void> toggleListOverlayVisibility(
DirectSelectList visibleList, double location) async {
if (isOverlayVisible) {
await hideListOverlay(location);
} else {
await showListOverlay(visibleList, location);
}
}