Comments (11)
That is a great idea, I will try this in days.
from material_design_icons_flutter.
@ziofat thx thats really cool
from material_design_icons_flutter.
@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.
@ride4sun Hi, I have published a new version of this package. Check readme to see is that satisfied you.
from material_design_icons_flutter.
@ziofat
Thank u. I will try it in the next few day and let u know. Great work.
from material_design_icons_flutter.
@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.
I think you are right. I didn't put consideration in this.
from material_design_icons_flutter.
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.
@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.
from material_design_icons_flutter.
closing this with 3.2.3595.
from material_design_icons_flutter.
Related Issues (20)
- Null safety migration HOT 1
- Each new release changes the values stored in icon_map.dart HOT 5
- Realse nullsafty as stable HOT 2
- const Map/List of all IconData HOT 4
- deblur not exist HOT 1
- Error: google_fonts was unable to load font Poppins-Regular because the following exception occured: Exception: Failed to load font with url
- Icon Request: Share variant off HOT 1
- Pass static analysis
- Strange version number HOT 4
- Update to 6.6.96 HOT 1
- Missing and wrong icons? HOT 1
- Add icon in comments to be able to preview it HOT 2
- Wrong Icons presented. HOT 4
- Unsupported icon package: Package always displays blank icon previews. HOT 1
- cannot tree shake when build web HOT 21
- tree shake not working correctly HOT 4
- Missing icons HOT 3
- No icons for dark_mode, person_add, language, schedule
- browse all icons HOT 1
- Performance issues: Delayed startup and application crashes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material_design_icons_flutter.