Alfaizkhan / flutter-emoji-selector

A flutter Emoji picker.
https://pub.dev/packages/emoji_selector
MIT License
4 stars 8 forks source link

Support for styling + RTL #5

Open ihadabs opened 1 year ago

ihadabs commented 1 year ago

Hi there, Thanks for building this package, I have tried many and this is the best package ❤️🙏.

Can some parameters be added?

  1. titleStyle useful for using custom fonts, colors, ...

or maybe a

  1. titleBuilder useful for using custom text style + adding some padding (above and below see pic) titleBuilder would be a Widget Function(BuildContext context, String title)

  2. backgroundColor for using a custom color other than the context theme

  3. searchHint useful for supporting other languages

  4. searchStyle usefull for custom fonts, ...

  5. searchBackgroundColor useful for supporting other themes (see below pic its white on dark theme)

Other issues:

  1. RTL support, maybe need using flutter utils Directionality.of(this) or AligmentDirectional
  2. Tone picker does not disappear when closing the widget

When LTR langs:

CleanShot 2023-07-25 at 02 35 39@2x

When RTL langs (tone color is broken):

CleanShot 2023-07-25 at 02 36 02@2x

The tone picker is stuck (after closing the picker), maybe need handling in dispose:

CleanShot 2023-07-25 at 02 46 08@2x
Alfaizkhan commented 1 year ago

Great catches @ihadabs Will resolve above all issues ASAP. Thank you for suggestions😀