opxica/modular-ui

Add Prefix & Suffix Widget in TextField

Closed this issue · 1 comments

Currently TextField doesn't have any icon as prefix icon or suffix icon. It's better to have optional prefix and suffix icon. So, When User need it they can directly used for performing different actions on textfield.

Currently

image

Expected

Prefix Icon

image

Suffix Icon

image

Development Walkthrough

  • Create optional parameter for prefixIcon & suffixIcon in lib/src/input_fields/primary_input_field.dart.
  • Pass the parameters to the actual components.
  • Test the Component is it working as expected.
  • onClick is working perfectly or not.
  • Raise the PR of your code

Thank You!

#113 Merged to development 🔥