BadgePosition.custom constructor

BadgePosition.custom({
  1. double? start,
  2. double? end,
  3. double? top,
  4. double? bottom,
  5. bool isCenter = false,
})

Implementation

factory BadgePosition.custom({
  double? start,
  double? end,
  double? top,
  double? bottom,
  bool isCenter = false,
}) {
  return BadgePosition._(
      top: top, end: end, bottom: bottom, start: start, isCenter: isCenter);
}