main property

  1. @ViewChild('main', read: HtmlElement)
set main (HtmlElement? element)

Implementation

@ViewChild('main', read: HtmlElement)
set main(HtmlElement? element) {
  _mainElement = element;
  if (_mainElement != null) {
    _disposer.addStreamSubscription(_mainElement!.onScroll.listen((_) {
      _setHeaderFooterScrollBorder();
    }));
  }
  if (_modal == null) {
    return;
  }
  _disposer.addStreamSubscription(_modal!.onOpen.listen((_) {
    _setHeaderFooterScrollBorder();
  }));
}