getIconFont static method

Icon getIconFont(
  1. int iconName,
  2. dynamic color,
  3. double size
)

加载iconfont的图标

Implementation

static Icon getIconFont(int iconName, color, double size) {
  return Icon(
    IconData(iconName, fontFamily: 'iconfont', fontPackage: 'vone_ipfs'),
    color: color,
    size: size,
  );
}