public override bool shouldRelayout(SingleChildLayoutDelegate oldDelegate) { _TooltipPositionDelegate _oldDelegate = (_TooltipPositionDelegate)oldDelegate; return(this.target != _oldDelegate.target || this.verticalOffset != _oldDelegate.verticalOffset || this.preferBelow != _oldDelegate.preferBelow); }
public override bool shouldRelayout(SingleChildLayoutDelegate oldDelegate) { _TextSelectionToolbarLayout layout = (_TextSelectionToolbarLayout)oldDelegate; return(this.screenSize != layout.screenSize || this.globalEditableRegion != layout.globalEditableRegion || this.position != layout.position); }
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) { if (oldDelegate is _PopupMenuRouteLayout popupMenu) { D.assert(itemSizes.Count == popupMenu.itemSizes.Count); return(position != popupMenu.position || selectedItemIndex != popupMenu.selectedItemIndex || textDirection != popupMenu.textDirection || !itemSizes.equalsList(popupMenu.itemSizes)); } else { return(false); } }
public override bool shouldRelayout(SingleChildLayoutDelegate _oldDelegate) { _DropdownMenuRouteLayout <T> oldDelegate = _oldDelegate as _DropdownMenuRouteLayout <T>; return(buttonRect != oldDelegate.buttonRect || textDirection != oldDelegate.textDirection); }
public override bool shouldRelayout(SingleChildLayoutDelegate oldDelegate) { return(false); }
public override bool shouldRelayout(SingleChildLayoutDelegate _oldDelegate) { _ModalBottomSheetLayout oldDelegate = _oldDelegate as _ModalBottomSheetLayout; return(progress != oldDelegate.progress); }
public override bool shouldRelayout(SingleChildLayoutDelegate oldDelegate) { return(this.position != ((_TextSelectionToolbarLayout)oldDelegate).position); }
public override bool shouldRelayout(SingleChildLayoutDelegate oldDelegate) { return(anchor != ((_TextSelectionToolbarLayout)oldDelegate).anchor); }
public override bool shouldRelayout(SingleChildLayoutDelegate oldDelegate) { return(this.position != ((_PopupMenuRouteLayout)oldDelegate).position); }