Coder Social home page Coder Social logo

Comments (8)

CripyIce avatar CripyIce commented on June 21, 2024 1

I'm experiencing this too.. For example, I think in PhoneInputSelectorType.DIALOG it would be better to use ListView.builder instead of Column.
Also, I think glyphs would be better too.

from intl_phone_number_input.

natintosh avatar natintosh commented on June 21, 2024 1

Hi thanks for raising this up again, I know it took to long to respond but I've made attempts to reduce the load up delay of this package. I tried using Glyphs via custom fonts and icon sets but glyphs in Flutter are monochrome and Flutter does not support SVG out of the box. I am opened to suggestions if you any idea how I can make this happen, then I'll try to work on replacing Column with ListView.builder. Thanks

from intl_phone_number_input.

natintosh avatar natintosh commented on June 21, 2024 1

I recently added an option to use emoji flags. Thanks everyone

from intl_phone_number_input.

natintosh avatar natintosh commented on June 21, 2024

I'm experiencing this too.. For example, I think in PhoneInputSelectorType.DIALOG it would be better to use ListView.builder instead of Column.

Wow It made a lot of difference 👍

Replacing Column with ListView.builder improve the performance and load up time

from intl_phone_number_input.

CripyIce avatar CripyIce commented on June 21, 2024

@natintosh Glad I could help :)
Regards the glyphs, you're right, I guess it will require comparing the performance between using current PNG images and using SVG with external library (for example - flutter_svg).

from intl_phone_number_input.

RVYA avatar RVYA commented on June 21, 2024

@natintosh You may use flag emoticons in Noto Color Emoji font: https://www.google.com/get/noto/help/emoji/flags/ You will need to translate two letter code of country to regional indicator equivalent, but that must be easy. Also, I was forked this repository, but unfortunately couldn't find time to finish implementing glyphs...

from intl_phone_number_input.

RVYA avatar RVYA commented on June 21, 2024

Still I can share my code which uses this fonts flag characters, if you want.

from intl_phone_number_input.

natintosh avatar natintosh commented on June 21, 2024

Hi @RVYA this would be great I will very much like to see that code. But not everyone would want to use emoticons. What I will do is to add an optional parameter to use emoticons.

from intl_phone_number_input.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.