ModulaPopover constructor

const ModulaPopover({
  1. required Widget trigger,
  2. required Widget content,
  3. Key? key,
  4. Alignment alignment = Alignment.bottomCenter,
  5. double offset = 8.0,
  6. Duration animationDuration = const Duration(milliseconds: 200),
  7. EdgeInsets padding = const EdgeInsets.all(12),
  8. Color backgroundColor = Colors.white,
  9. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8)),
  10. bool showArrow = true,
})

Implementation

const ModulaPopover({
  required this.trigger,
  required this.content,
  super.key,
  this.alignment = Alignment.bottomCenter,
  this.offset = 8.0,
  this.animationDuration = const Duration(milliseconds: 200),
  this.padding = const EdgeInsets.all(12),
  this.backgroundColor = Colors.white,
  this.borderRadius = const BorderRadius.all(Radius.circular(8)),
  this.showArrow = true,
});