SimpleOverlayPosition.topLeft constructor

SimpleOverlayPosition.topLeft({
  1. double? top,
  2. double? left,
})

Implementation

factory SimpleOverlayPosition.topLeft({
  double? top,
  double? left,
}) {
  return SimpleOverlayPosition(
    top: top ?? 0,
    left: left ?? 0,
  );
}