Giter VIP home page Giter VIP logo

ant_icons's Introduction

Package for Ant Icons

An icon is a graphical representation of meaning. Icons can be used to express actions, state, and even to categorize data. Ant Design's icons adhere to the following two principles and are designed for cross-platform consistency:

  • Graphics that are clear, intuitive, and simple enjoy a higher degree of recognition and are more easily understood
  • All icons in the user interface should be consistent in style (detail design, perspective, stroke weight, etc.)

This is a Flutter package for Ant Icons.

Install

Add the following in you pubspec.yaml file under dependencies:

ant_icons: <latest_version>

Usage

import 'package:ant_icons/ant_icons.dart';

class HomePage extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(AntIcons.ant_cloud),
      onPressed: () { print('Pressed on Ant Cloud icon'); }
    );
  }
}

Getting Started

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

ant_icons's People

Contributors

vedartm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ant_icons's Issues

Incomplete Icon Set

Hi, i noticed this particular icon isn't listed.
image
also the screenshot used in the Readme is quite misleading as most of them are also missing.
68747470733a2f2f67772e616c697061796f626a656374732e636f6d2f7a6f732f726d73706f7274616c2f587a4f506f6e574373506a76676b726b6c437a6f2e706e67

Typo in 'colum_height' icon

In the latest version of ant_icons (1.0.0), this icon is spelled as 'colum_height', whereas it should be 'column_height'.

Icons not working

My first time using this library and I'm experiencing problem where the icons are not showing up. Example:

image

I'm using Android API 25 (Pixel 2) and Dart SDK version 2.7.0. This is the project I tried to use it with: https://github.com/rareagency/event-app-showcase/tree/master/app

Here is my pubspec.yaml:

name: eventapp
description: Event app demo
version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  image_picker: ^0.6.3+4
  intl: ^0.16.1
  collection: ^1.14.11
  ant_icons: ^1.0.0

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:
  fonts:
    - family: Inter
      fonts:
        - asset: fonts/Inter-Regular.ttf
        - asset: fonts/Inter-SemiBold.ttf
          weight: 700

  uses-material-design: true

  assets:
   - assets/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.