AnimatedReactionOverlay constructor
const
AnimatedReactionOverlay({
- Key? key,
- required double width,
- required LayerLink layerLink,
- required Color overlayBackgroundColor,
- required bool showCloseButton,
- Widget? customCloseButton,
- Offset? offset,
- Alignment? alignment,
- required AnimationController elementController,
- required AnimationController overlayController,
- required List<
Reaction> reactions, - required OverlayEntry entry,
Implementation
const AnimatedReactionOverlay({
super.key,
required this.width,
required this.layerLink,
required this.overlayBackgroundColor,
required this.showCloseButton,
this.customCloseButton,
this.offset,
this.alignment,
required this.elementController,
required this.overlayController,
required this.reactions,
required this.entry,
}) : assert(
customCloseButton != null ? showCloseButton == true : true,
);