MaterialExpansionPanelAutoDismiss constructor
MaterialExpansionPanelAutoDismiss(
- MaterialExpansionPanel _expansionPanel,
- @Optional() @Inject(overlayContainerToken) Element? _overlayContainerToken,
- HtmlElement _element
Implementation
MaterialExpansionPanelAutoDismiss(
this._expansionPanel,
@Optional() @Inject(overlayContainerToken) this._overlayContainerToken,
this._element) {
_clicksOutsideController = StreamController.broadcast(
sync: true,
onListen: () {
_mouseUpListener = document.onMouseUp.listen(_onMouseUp);
},
onCancel: () {
_mouseUpListener?.cancel();
_mouseUpListener = null;
});
}