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); }
public override bool shouldRelayout(SingleChildLayoutDelegate _oldDelegate) { _DropdownMenuRouteLayout <T> oldDelegate = _oldDelegate as _DropdownMenuRouteLayout <T>; return(buttonRect != oldDelegate.buttonRect || textDirection != oldDelegate.textDirection); }