humanitarian_icons 0.1.0

  • Readme
  • Changelog
  • Example
  • Installing
  • new48

humanitarian_icons #

Humanitarian Icons (Unofficial) library contains about 300+ icons.

pub package

-- NOTICE: NOT affiliated with the United Nations Office for the Coordination of Humanitarian Affairs!

The United Nations Office for the Coordination of Humanitarian affairs OCHA has created a set of 500 freely available humanitarian icons to help relief workers present information about emergencies and crises quickly and simply.

When a disaster strikes, it is vital that all the different humanitarian agencies and workers can gather accurate information about the locations and needs of the people affected and who is best placed to help them. This creates an urgent need for complex information to be presented in a way that everyone can understand, as quickly as possible.

-- NOTE: Recently, I have been working a flutter app for emergency responders and have worked on health apps in the past so I thought this kind of library would help me and my fellow flutter developers to create their beautiful apps so here we are, I hope you like it and use it!

Usage #

The easiest way to use this library is as following:

import 'package:humanitarian_icons/humanitarian_icons.dart';

...
    child: Icon(
      HumanitarianIcons.ambulance,
      size: 35.0,
    ),
...

For full example checkout example/ app which display all icons in a gallery format.

Getting Started With Flutter #

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.

Credit #

Icon Images: “Source: OCHA”.

[0.0.1]

  • Added 307 Humanitarian Icons to the package

[0.1.0]

  • Tested on Android, iOS, and Web

example/README.md

humanitarian_icons_test #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

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

Use this package as a library

1. Depend on it

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


dependencies:
  humanitarian_icons: ^0.1.0

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:humanitarian_icons/humanitarian_icons.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
48
Learn more about scoring.

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

  • Dart: 2.7.0
  • pana: 0.13.4
  • Flutter: 1.12.13+hotfix.5

Health issues and suggestions

Document public APIs. (-0.90 points)

309 out of 310 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Maintenance suggestions

The description is too long. (-10 points)

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Dependencies

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