BadgePosition.topEnd constructor

BadgePosition.topEnd({
  1. double top = -8,
  2. double end = -10,
})

Factory method that creates a new instance of this widget according to top and end

Implementation

factory BadgePosition.topEnd({double top = -8, double end = -10}) {
  return BadgePosition(top: top, end: end);
}