PickerMenu constructor

PickerMenu({
  1. Key? key,
  2. MenuColors? colors,
  3. MenuStyles? styles,
  4. MenuTexts? texts,
  5. dynamic onBackSpacePressed()?,
  6. void onEmojiSelected(
    1. Category? category,
    2. Emoji emoji
    )?,
  7. void onGifSelected(
    1. GiphyGif? gif
    )?,
  8. TextEditingController? textEditingController,
  9. String? giphyApiKey,
  10. bool viewEmoji = true,
  11. bool viewGif = true,
  12. required MenuSizes sizes,
})

Implementation

PickerMenu(
    {super.key,
    MenuColors? colors,
    MenuStyles? styles,
    MenuTexts? texts,
    this.onBackSpacePressed,
    this.onEmojiSelected,
    this.onGifSelected,
    this.textEditingController,
    this.giphyApiKey,
    this.viewEmoji = true,
    this.viewGif = true,
    required this.sizes})
    : colors = colors ?? MenuColors(),
      styles = styles ?? MenuStyles(),
      texts = texts ?? MenuTexts();