feather_icons_flutter 4.7.4

  • Readme
  • Changelog
  • Example
  • Installing
  • 75

feather_icons_flutter #

The Feather Icon pack created by Cole Bemis available as set of Flutter Icons.

Based on Feather v4.7.3

Installation #

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

  feather_icons_flutter: >=4.7.4

Usage #

import 'package:feather_icons_flutter/feather_icons_flutter.dart';

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

Example #

View the Flutter app in the example directory to see all the available FeatherIcons.

Original Creator #

This library is largely based on the font_awesome_flutter library and is copyrighted by Brian Egan under the terms of the MIT license.

Contributors #

  • Hannes Küttner

4.7.4 #

  • Fix Readme

4.7.3 #

  • Initial release based on Feather 4.7.3


import 'package:flutter/material.dart';
import 'package:feather_icons_flutter/feather_icons_flutter.dart';
import 'package:feather_icons_flutter_example/icons.dart';

void main() {
  runApp(new FeatherIconsGalleryApp());

class FeatherIconsGalleryApp extends StatelessWidget {
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Feather Icons Flutter Gallery',
      theme: new ThemeData.light().copyWith(
        iconTheme: new IconThemeData(size: 36.0, color: Colors.black87),
        textTheme: new TextTheme(
          body1: new TextStyle(fontSize: 16.0, color: Colors.black87),
      home: new FeatherIconsGalleryHome(),

class FeatherIconsGalleryHome extends StatefulWidget {
  State<StatefulWidget> createState() => new FeatherIconsGalleryHomeState();

class FeatherIconsGalleryHomeState extends State<FeatherIconsGalleryHome> {
  var _searchTerm = "";
  var _isSearching = false;

  Widget build(BuildContext context) {
    final filteredIcons = icons
        .where((icon) =>
            _searchTerm.isEmpty ||
    final orientation = MediaQuery.of(context).orientation;

    return new Scaffold(
      appBar: _isSearching ? _searchBar(context) : _titleBar(),
      body: new GridView.builder(
          itemCount: filteredIcons.length,
          gridDelegate: new SliverGridDelegateWithFixedCrossAxisCount(
            crossAxisCount: orientation == Orientation.portrait ? 2 : 3,
          itemBuilder: (context, index) {
            final icon = filteredIcons[index];

            return new InkWell(
              onTap: () {
                  new MaterialPageRoute<Null>(
                    builder: (BuildContext context) {
                      return new GestureDetector(
                        onTap: () {
                        child: new Container(
                          color: Colors.white,
                          child: new SizedBox.expand(
                            child: new Hero(
                              tag: icon,
                              child: new Icon(
                                size: 100.0,
              child: new Column(
                mainAxisAlignment: MainAxisAlignment.center,
                children: <Widget>[
                  new Hero(tag: icon, child: new Icon(icon.iconData)),
                  new Container(
                    padding: new EdgeInsets.only(top: 16.0),
                    child: new Text(icon.title),

  AppBar _titleBar() {
    return new AppBar(
      title: new Text("Feather Icons Flutter Gallery"),
      actions: [
        new IconButton(
            icon: new Icon(FeatherIcons.search),
            onPressed: () {
                new LocalHistoryEntry(
                  onRemove: () {
                    setState(() {
                      _searchTerm = "";
                      _isSearching = false;

              setState(() {
                _isSearching = true;

  AppBar _searchBar(BuildContext context) {
    return new AppBar(
      leading: new IconButton(
        icon: new Icon(FeatherIcons.arrowLeft),
        onPressed: () {
            () {
              _isSearching = false;
              _searchTerm = "";
      title: new TextField(
        onChanged: (text) => setState(() => _searchTerm = text),
        autofocus: true,
        style: new TextStyle(fontSize: 18.0),
        decoration: new InputDecoration(border: InputBorder.none),

Use this package as a library

1. Depend on it

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

  feather_icons_flutter: ^4.7.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:feather_icons_flutter/feather_icons_flutter.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jul 2, 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 [feather_icons_flutter] that is in a package requiring null.

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

exitCode: 255 stdout: Documenting feather_icons_flutter... Initialized dartdoc with 358 libraries in 95.1 seconds Generating docs for library feather_icons_flutter from package:feather_icons_flutter/icon_data.dart... Generating docs for library feather_icons_flutter from package:feather_icons_flutter/feather_icons_flutter.dart... Validating docs... Documented 2 public libraries in 21.9 seconds stderr: warning: feather_icons_flutter has no library level documentation comments, from feather_icons_flutter: (file:///tmp/pub-dartlang-dartdocOGSENW/pkg/lib/icon_data.dart:1:9) warning: feather_icons_flutter has no library level documentation comments, from feather_icons_flutter: (file:///tmp/pub-dartlang-dartdocOGSENW/pkg/lib/feather_icons_flutter.dart:1:9) error: failed to write file at: feather_icons_flutter/feather_icons_flutter-library.html for symbol feather_icons_flutter: (file:///tmp/pub-dartlang-dartdocOGSENW/pkg/lib/feather_icons_flutter.dart:1:9) conflicting with file already generated by feather_icons_flutter: (file:///tmp/pub-dartlang-dartdocOGSENW/pkg/lib/icon_data.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. feather_icons_flutter conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the @nodoc tag in one symbol's documentation comments to hide it. found 2 warnings and 1 error Unhandled exception: dartdoc encountered 1 errors while processing. #0 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:225:9)

Package is getting outdated. (-76.16 points)

The package was last published 91 weeks ago.

The package description is too short. (-11 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.


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.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
recase ^2.0.0+1