ionicons_named

Table of Contents

Table of Contents

Live Example

Introduction

Library that builds and provides auto-generated string to icon mapping for all ionicons based from the stable branch for Flutter using the ionicons flutter package

Please note, if you include this library then Flutter will give you errors stating that it cannot tree shake icons when building for Android and iOS. You must add the --no-tree-shake-icons flag to your builds. For example:

flutter build apk --release --no-tree-shake-icons

Usage

import 'package:ionicons_named/ionicons_named.dart';

...

Icon(ionicons['boat_outline']),

...

Libraries

ionicons_named