grafpix 1.1.7

  • Readme
  • Changelog
  • Example
  • Installing
  • 86

Grafpix #

Grafpix Flutter Icon Package, is a growing collection of high ranked icons from multiple authors ready to use in your flutter projects.

Getting Started #

Icons are one of the most useful ui-tools available on the web for mobile applications, and when a collection of great icons are available for you with ease of use under one single bundle, it is even much better.

Features! #

  • Top ranked icons from multiple authors to grant you the best UI experience for your mobile application audients.
  • A growing collection of icons managed from one single package.
  • Hassle free, saves your time & efforts.
  • Using one single line of code, you are ready to go.

Whats New

  • 434 Newly added amazing icons from FontAwsome as per latest release.

Included Icon Sets #

Installation #

In your pubspec.yaml under dependencies add the following line:

dependencies:
  grafpix: ^1.1.7

From your Terminal, run the following code:

  flutter pub get

Usage

Use the PixIcon as IconData.

Icon({PixIcon.icon_name})

Example #

PixIcon.home icon example

import 'package:grafpix/icons.dart';

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      icon: Icon(PixIcon.pix_android, size: 30.0, color:Colors.green[600]), 
      onPressed: () { print('Icon Pressed'); }
     );
  }
}

GRAFPIX

Author

Ahmed Mustafa < ahmed.dev2020@gmail.com > if you have suggestions, please feel free to contact me any time. your feedback is highly appreciated.

License #

MIT

[1.1.7] - 2019-12-31 #

  • Added new set of FontAwsome icons (434 icons).
  • Updating Readme.me.
  • Total of 1628 icons added.

[1.1.6] - 2019-12-31 #

  • Added Complete set of Typicons (336 icons).
  • Updating Readme.me.
  • Total of 1194 icons added.

[1.1.5] - 2019-12-30 #

  • Added Complete set of Grafpix free web pix icons (491 icons).
  • fixing 1 font issue.
  • Updating Readme.me.
  • Total of 857 icons added.

[1.1.4] - 2019-12-30 #

  • Added Complete set of CaptainIcon (367 icons).
  • fixing 98 font names by removing the trailing numbers.
  • Updating Readme.me.

[1.1.3] - 2019-12-29 #

  • Fixes Readme.me.
  • Fixes PixIcon Class.
  • Fixes Readme.me Usage version.

[1.1.0] - 2019-12-29 #

  • Added 300+ of CaptainIcon.
  • Fixes 23 Icon details.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:grafpix/icons.dart';

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return IconButton(
      // icon displays android logo
      icon: Icon(PixIcon.pix_android, size: 30.0, color:Colors.green[600]), 
      onPressed: () { print('Icon Pressed'); }
     );
  }
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  grafpix: ^1.1.7

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:grafpix/icons.dart';
import 'package:grafpix/icon_sets.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
72
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
86
Learn more about scoring.

We analyzed this package on Jul 5, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13
  • Flutter: 1.17.5

Analysis suggestions

Package not compatible with SDK dart

because of import path [grafpix] that is in a package requiring null.

Health suggestions

Format lib/icon_sets.dart.

Run flutter format to format lib/icon_sets.dart.

Format lib/icons.dart.

Run flutter format to format lib/icons.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8
Dev dependencies
flutter_test