iconfont_dart iconfont to dart.Icon can be implemented by calling iconfont classname. iconfont转dart.通过调用iconfont的classname即可返回Icon. 生成dart文件预览 使用 import 'package:iconfont_dart/iconfont_dart.dart'; main() { IconfontDart('../lib/assets/fonts/demo_index…
摘要 程序员总是会不断的重复写一些简单的代码片段,为了提高编码效率,我们可以把经常用到的代码保存起来再调用. 平时用sublime安装各种插件,使用Tab键快速补全,便是snippets(可译为代码片段)的一种. Sublime编辑器还提供了自定义代码片段的功能(当然不止Sublime有此功能),其官方文档中定义如下: Whether you are coding or writing the next vampire best-seller, you're likely to need cer…