Factory method that creates a new instance of this widget according to top and end
top
end
factory BadgePosition.topEnd({double top = -8, double end = -10}) => BadgePosition(top: top, end: end);