line_icons 0.0.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 87

<img src="https://flutter.io/images/flutter-mark-square-100.png" alt="Flutter" width="40" height="40" /> LineIcons #

Just another bunch of beautiful icons to use #

I love Material icons. I really do. But, somehow, I suddenly felt tired of them. So I took a look around and found a wonderful set of icons by Icons8. And best of all... for free! (See the Good Boy Licence).

Yeah, what a wonderful world and so on, but, writing down all those nasty codes into Dart constants? No way!

And FlutterIcon just came out of the blue! It made all the dirty work for me.

I started to use this library in my projects, and they really seemed nice. So I asked to myself: why not publishing it for others to enjoy? After all, in all this process, I was indeed assisted by many people who decided not keeping the icons for themselves and helping others with a piece of software they had no need to share with me or anyone else.

So, thank you Icons8 and FlutterIcon!

Documentation #

The font

From the font to the class

From the class to the package

Line, clean, icons #

Imagine a cross-over: Windows10 style and Awesome inspiration. Well, stop dreaming! You got plenty of beautiful icons to choose from for your Android app (not tested in iOS yet, sorry). I'd rather like this set over Material, and I find much easier to find the icon I'm looking for in [Icons8]((https://icons8.com/line-awesome) than in the Material Icons page.

<img src="https://maxcdn.icons8.com/app/uploads/2016/01/line-vs-font-awesome-header-2.0.png" />

Let's give it a try #

Installing

Include line_icons in your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  url_launcher: ^0.1.0

If your IDE doesn't do it automatically, type:

flutter packages get

Using

Import the package in your dart file and use Icon to get the actual icon widget:

Icon _icon = Icon(LineIcons.code);

Sample

GitHub source code #

If you're interested on the code (feel free to modify it anyway you want), you can find it here:

GitHub

[0.0.1] - TODO: Add release date.

  • TODO: Describe initial release.

Use this package as a library

1. Depend on it

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


dependencies:
  line_icons: ^0.0.1

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:line_icons/line_icons.dart';
  
Version Uploaded Documentation Archive
0.2.0 Jan 14, 2019 Go to the documentation of line_icons 0.2.0 Download line_icons 0.2.0 archive
0.1.2 Jan 10, 2019 Go to the documentation of line_icons 0.1.2 Download line_icons 0.1.2 archive
0.1.1 Dec 10, 2018 Go to the documentation of line_icons 0.1.1 Download line_icons 0.1.1 archive
0.1.0 Dec 10, 2018 Go to the documentation of line_icons 0.1.0 Download line_icons 0.1.0 archive
0.0.1 Dec 10, 2018 Go to the documentation of line_icons 0.0.1 Download line_icons 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
84
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
87
Learn more about scoring.

We analyzed this package on May 22, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.1
  • pana: 0.12.16
  • Flutter: 1.5.4-hotfix.2

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-1 points)

642 out of 642 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.

Format lib/line_icons.dart.

Run flutter format to format lib/line_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 line_icons.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test