PickerMenuMobile constructor

PickerMenuMobile({
  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. required bool viewEmoji,
  11. required bool viewGif,
  12. required MenuSizes sizes,
})

Implementation

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