All Projects → ziofat → Material_design_icons_flutter

ziofat / Material_design_icons_flutter

Licence: mit
The Material Design Icons (https://materialdesignicons.com/) Icon pack available as set of Flutter Icons.

Programming Languages

dart
5743 projects

Projects that are alternatives of or similar to Material design icons flutter

Shifting tabbar
A custom tab bar widget for Flutter framework.
Stars: ✭ 124 (-4.62%)
Mutual labels:  material-design
Materialdesigninxamltoolkit
Google's Material Design in XAML & WPF, for C# & VB.Net.
Stars: ✭ 11,603 (+8825.38%)
Mutual labels:  material-design
Todayx
🌈Flutter App:🎊「今日份的X」(每天推荐一个:图片、诗歌、名言、音乐、乐评、高等数学、两种配色、化学方程式、Github Repo、知乎问题、文章)
Stars: ✭ 128 (-1.54%)
Mutual labels:  material-design
Feeder2
Feeder2.0, Android Rss 阅读器,Material Design,MVP架构
Stars: ✭ 124 (-4.62%)
Mutual labels:  material-design
Hyperspace
The new beautiful, fluffy client for Mastodon in React + TypeScript
Stars: ✭ 124 (-4.62%)
Mutual labels:  material-design
Kingtv
📺 高仿全民直播(全民TV),项目采用 MVP + RXJava + Retrofit + OKHttp + Material Design + Dagger2 + Base + Glide + GreenDao构建。因为全民TV已经凉了,导致App已经连不上。所以本项目已暂停维护。仅供学习。 推荐MVPFrame: https://github.com/jenly1314/MVPFrame 和你值得拥有的MVVMFrame快速开发框架: https://github.com/jenly1314/MVVMFrame
Stars: ✭ 1,594 (+1126.15%)
Mutual labels:  material-design
Materialanim
基于Android 系统的动画总结
Stars: ✭ 123 (-5.38%)
Mutual labels:  material-design
Devextreme Reactive
Business React components for Bootstrap and Material-UI
Stars: ✭ 1,800 (+1284.62%)
Mutual labels:  material-design
Episodie
Episodie is a TV show time tracker app with unusual design written in kotlin and clean architecture approach. Get to know how much time you spent watching tv shows.
Stars: ✭ 125 (-3.85%)
Mutual labels:  material-design
Material.avalonia
Material design in AvaloniaUI
Stars: ✭ 126 (-3.08%)
Mutual labels:  material-design
Ct Material Kit Pro
Premium Bootstrap 4 UI Kit based on Google's Material Design
Stars: ✭ 123 (-5.38%)
Mutual labels:  material-design
Material Sheet Fab
Android library that provides the floating action button to sheet transition from Google's Material Design.
Stars: ✭ 1,584 (+1118.46%)
Mutual labels:  material-design
Vectoriconsroundup
A comparison between popular vectorial icon fonts
Stars: ✭ 126 (-3.08%)
Mutual labels:  material-design
Nim websitecreator
Nim fullstack website framework - deploy a website within minutes
Stars: ✭ 124 (-4.62%)
Mutual labels:  material-design
Light Push
轻量级推送服务和实时在线监控平台,同时用于开发即时通信系统,基于node的socket.io,支持web、android、ios客户端,支持移动端离线推送,可进行分布式部署
Stars: ✭ 128 (-1.54%)
Mutual labels:  material-design
Svelte Material Ui
Svelte Material UI Components
Stars: ✭ 2,081 (+1500.77%)
Mutual labels:  material-design
Material Ui Time Picker
A time picker for Material-UI.
Stars: ✭ 126 (-3.08%)
Mutual labels:  material-design
Drooltip.js
🔥 💦 Minimalistic, powerful and extensible Vanilla JS tooltip library
Stars: ✭ 129 (-0.77%)
Mutual labels:  material-design
Jtmaterialspinner
An iOS material design spinner view
Stars: ✭ 127 (-2.31%)
Mutual labels:  material-design
Photonoter
📓Material Design风格的开源照片笔记。(MVP+Dagger2+RxJava+AspectJ+Dex处理)
Stars: ✭ 1,592 (+1124.62%)
Mutual labels:  material-design

Gitpod Ready-to-Code

material_design_icons_flutter

The Material Design Icons Icon pack available as set of Flutter Icons.

Based on Material Design Icons 5.8.55. See a web demo build with this package.

👍 Like us on pub.dev!

Installation

In the dependencies: section of your pubspec.yaml, add the following line:

  material_design_icons_flutter: 4.0.5855

WARNING: MDI's version is based on their icons quantity, which does not strictly respect semver guide. They do try their best to keep icons in same name between minor releases but name changing may still appear. To not break your application, using a fix version in your pubspec.yaml is highly recommended.

Usage

import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return new IconButton(
      // Use the MdiIcons class for the IconData
      icon: new Icon(MdiIcons.sword),
      onPressed: () { print('Using the sword'); }
     );
  }
}

Or, if you want to access the icon by a string name, you can use fromString method to create one.

import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return new IconButton(
      // Use the string name to access icons.
      icon: new Icon(MdiIcons.fromString('sword')),
      onPressed: () { print('Using the sword'); }
     );
  }
}

Note: This is not recomended because to make fromString work we need a map for all icon names. Using this method will not get the benefits of tree-shaking.

On flutter 1.22 and above, using fromString method will also cause a compile error This application cannot tree shake icons fonts, which can be bypass by building with --no-tree-shake-icons.

Name Conversion

Some icons' names are reserved keywords in Dart (and most other languages), so they have been changed.

  • null -> nullIcon
  • switch -> switchIcon
  • sync -> syncIcon
  • factory -> factoryIcon
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].