grafpix 1.1.6

  • Readme
  • Changelog
  • Example
  • Installing
  • 86

Grafpix #

Grafpix Flutter Icon Package, is a huge grawing collection of high ranked icon-sets from multiple authors merged into ready for you to use in your flutter projects.

Getting Started #

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

Features! #

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

Whats New

Included Icon Sets #

Installation #

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

dependencies:
  grafpix: ^1.1.6

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.6] - 2019-12-31 #

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

[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.

[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/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.6

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