grafpix 1.1.4

  • Readme
  • Changelog
  • Installing
  • 84

Grafpix #

Grafpix icon pack, is a huge grawing collection of high ranked icon-sets from multiple authors 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 under one single place with ease of use, it is even better.

Features! #

  • Top ranked icon sets from multiple authors to assure you the best ui experience to your flutter app audients.
  • A growing collection of icons managed from one single place.
  • Ease of use, with one single line of code, you are ready to go.
  • Save your time & efforts.
  • And more to come..

Whats New

  • A complete icon-set of CaptainIcon with more than 360+ stunning icons has been added for package release ^1.1.4.

Installation #

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

dependencies:
  grafpix: ^1.1.4

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.home, size: 30.0, color:Colors.orange), 
      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.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.

Use this package as a library

1. Depend on it

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


dependencies:
  grafpix: ^1.1.4

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]
90
Overall:
Weighted score of the above. [more]
84
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.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and grafpix.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

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