BadgePosition.topStart constructor

BadgePosition.topStart({
  1. double top = -5,
  2. double start = -10,
})

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

Implementation

factory BadgePosition.topStart({double top = -5, double start = -10}) {
  return BadgePosition._(top: top, start: start);
}