icofont_flutter 1.3.0

icofont_flutter #

The IcoFont Icon Pack available as Flutter Icon Pack

Based on IcoFont Version 1.0.1 #

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

icofont_flutter: <latest_version>

Usage #

import 'package:icofont_flutter/icofont_flutter.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return new IconButton(
      // Use the IcoFontIcons class for the IconData
      icon: new Icon(IcoFontIcons.brandIcofont),
      onPressed: () { print("Pressed"); }
     );
  }
}

Special Thanks to IcoFont Team #

for creating such wonderful icon pack for making design.

[1.3.0] - June 21, 2019.

  • Tidy Neat & Clean Code, better for understanding and also some improvements.

[1.2.0] - June 19, 2019.

  • Desicriptions and SDK version update.

[1.1.0] - June 19, 2019.

  • Desicriptions and Some improvements.

[1.0.0] - June 18, 2019.

  • Add LICENSE.md file
  • Created README.md file with instructions for using this package.
  • Created IcoFontIcons class, which provides all IcoFont Icons as IconData, similar to Flutter's built-in Icons class.

Use this package as a library

1. Depend on it

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


dependencies:
  icofont_flutter: ^1.3.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:icofont_flutter/icofont_flutter.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
60
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]
78
Learn more about scoring.

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

  • Dart: 2.4.0
  • pana: 0.12.19
  • Flutter: 1.7.8+hotfix.3

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Document public APIs. (-0.99 points)

2097 out of 2098 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

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 icofont_flutter.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.0.0-dev.28.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

Admin