EmojiButton constructor

const EmojiButton({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsets padding = const EdgeInsets.all(4),
  4. required EmojiPickerView emojiPickerView,
  5. double minWidth = 0,
  6. double maxWidth = double.infinity,
  7. ShapeBorder? shape,
  8. bool barrierDismissible = true,
})

A button that can be used to select an emoji.

Implementation

const EmojiButton({
  Key? key,
  required this.child,
  this.padding = const EdgeInsets.all(4),
  required this.emojiPickerView,
  this.minWidth = 0,
  this.maxWidth = double.infinity,
  this.shape,
  this.barrierDismissible = true,
}) : super(key: key);