ReactionOverlay constructor

const ReactionOverlay({
  1. Key? key,
  2. required Widget child,
  3. List<String> reactions = const ['❤️', '👍', '😂', '😮', '😢', '🙏'],
  4. dynamic onReactionSelected(
    1. String
    )?,
  5. bool enabled = true,
})

Creates a ReactionOverlay widget

Implementation

const ReactionOverlay({
  Key? key,
  required this.child,
  this.reactions = const ['❤️', '👍', '😂', '😮', '😢', '🙏'],
  this.onReactionSelected,
  this.enabled = true,
}) : super(key: key);