Esempio n. 1
0
        public override bool shouldRelayout(SingleChildLayoutDelegate _oldDelegate)
        {
            _DropdownMenuRouteLayout <T> oldDelegate = _oldDelegate as _DropdownMenuRouteLayout <T>;

            return(this.buttonRect != oldDelegate.buttonRect ||
                   this.menuTop != oldDelegate.menuTop ||
                   this.menuHeight != oldDelegate.menuHeight);
        }
Esempio n. 2
0
        public override bool shouldRelayout(SingleChildLayoutDelegate _oldDelegate)
        {
            _DropdownMenuRouteLayout <T> oldDelegate = _oldDelegate as _DropdownMenuRouteLayout <T>;

            return(buttonRect != oldDelegate.buttonRect || textDirection != oldDelegate.textDirection);
        }