MhPopup constructor

const MhPopup({
  1. required Widget child,
  2. required Widget follower,
  3. required OverlayPortalController controller,
  4. required double popupWidth,
  5. required double popupHeight,
  6. Offset offset = Offset.zero,
  7. Alignment followerAnchor = Alignment.topCenter,
  8. Alignment targetAnchor = Alignment.bottomCenter,
  9. Key? key,
})

Implementation

const MhPopup({
  required this.child,
  required this.follower,
  required this.controller,
  required this.popupWidth,
  required this.popupHeight,
  this.offset = Offset.zero,
  this.followerAnchor = Alignment.topCenter,
  this.targetAnchor = Alignment.bottomCenter,
  super.key,
});