ModulaPopover constructor
const
ModulaPopover({
- required Widget trigger,
- required Widget content,
- Key? key,
- Alignment alignment = Alignment.bottomCenter,
- double offset = 8.0,
- Duration animationDuration = const Duration(milliseconds: 200),
- EdgeInsets padding = const EdgeInsets.all(12),
- Color backgroundColor = Colors.white,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8)),
- 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,
});