Code Monkey home page Code Monkey logo

Comments (11)

ziofat avatar ziofat commented on June 29, 2024

That is a great idea, I will try this in days.

from material_design_icons_flutter.

ride4sun avatar ride4sun commented on June 29, 2024

@ziofat thx thats really cool

from material_design_icons_flutter.

ride4sun avatar ride4sun commented on June 29, 2024

@ziofat I was just wondering if you found the time to work on it. Is there something I can do?

from material_design_icons_flutter.

ziofat avatar ziofat commented on June 29, 2024

@ride4sun Hi, I have published a new version of this package. Check readme to see is that satisfied you.

from material_design_icons_flutter.

ride4sun avatar ride4sun commented on June 29, 2024

@ziofat
Thank u. I will try it in the next few day and let u know. Great work.

from material_design_icons_flutter.

ride4sun avatar ride4sun commented on June 29, 2024

@ziofat I think a static method would look better like:

MDiIcons.fromString(bloc.iconName)

instead of

MdiIcons()[bloc.iconName])

everything else is static and MdiIcons()[bloc.iconName] would be the only place where you would create an instance. Otherwise awesome!

from material_design_icons_flutter.

ziofat avatar ziofat commented on June 29, 2024

I think you are right. I didn't put consideration in this.

from material_design_icons_flutter.

miguelangel-nubla avatar miguelangel-nubla commented on June 29, 2024

Keep in mind that It is still useful to have a map that can be iterated to list or dynamically search icons by text.

In that regard, would it be possible to include the description and aliases as shown on the web page in a similar way?
That would enable users to build icon pickers.

from material_design_icons_flutter.

ziofat avatar ziofat commented on June 29, 2024

@miguelangel-nubla I do know that aliases exist but they can not be used to access icon in material-design-icon.
I can try to add alias support in example.

from material_design_icons_flutter.

ride4sun avatar ride4sun commented on June 29, 2024

from material_design_icons_flutter.

ziofat avatar ziofat commented on June 29, 2024

closing this with 3.2.3595.

from material_design_icons_flutter.

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.