FLUTTER ECOSYSTEM

alialnaghmoush/boxicons

Flutter 的 Boxicons 自定义。

boxicons 项目封面
Stars
3
Forks
0
最近推送(UTC)
2021年7月30日
项目状态
未归档
Ali AlNaghmousgh GitHub avatar
GITHUB User

Ali AlNaghmousgh ↗

语言DartRubyKotlinSwiftObjective-C

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

Boxicons For Flutter

Easy to use 1500+ Icon from Boxicons.

Instalation

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

boxicons: <latest_version>

Usage

You can use it very easily. For example:

Icon(Boxicons.bx_home_smile)
import 'package:flutter/material.dart';
import 'package:boxicons/boxicons.dart';

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return IconButton(
        // Use Boxicons
        icon: Icon(Boxicons.bx_home_smile),
        onPressed: () {
            print('its done');
        }
    );
  }
}

Info

Announcing Boxicons v2.0.9!

  • Fixed the errors with a few svgs, added viewbox

License

MIT