ReactionPicker constructor

const ReactionPicker({
  1. Key? key,
  2. List<String> reactions = const ['❤️', '👍', '😂', '😮', '😢', '🙏'],
  3. dynamic onReactionSelected(
    1. String
    )?,
  4. Color backgroundColor = Colors.white,
  5. double emojiSize = 28,
  6. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
  7. double borderRadius = 24,
  8. double spacing = 8,
})

Creates a ReactionPicker widget

Implementation

const ReactionPicker({
  Key? key,
  this.reactions = const ['❤️', '👍', '😂', '😮', '😢', '🙏'],
  this.onReactionSelected,
  this.backgroundColor = Colors.white,
  this.emojiSize = 28,
  this.padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
  this.borderRadius = 24,
  this.spacing = 8,
}) : super(key: key);