The Line Awesome Icons Pack for Flutter. Provides 1542 Additional Icons to Use in Your App

line_awesome_flutter 

Icons library, based on Line Awesome Icons

The Line Awesome Icon pack available as Flutter Icons. Provides 1542 additional icons to use in your apps.

If you use the icons publicly, please link to https://icons8.com/line-awesome somewhere on your page or artwork, so that more creators could know about it and use it for free.

Installing 

Include line_awesome_flutter in your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  line_awesome_flutter: ^<latest-version>

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:

import 'package:line_awesome_flutter/line_awesome_flutter.dart';
...
Icon _icon = Icon(LineAwesomeIcons.home);
...

Credits 

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add line_awesome_flutter

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  line_awesome_flutter: ^2.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:line_awesome_flutter/line_awesome_flutter.dart';

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:line_awesome_flutter/line_awesome_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
        home: Scaffold(
          appBar: AppBar(
            title: Text("Line Awesome Icons Demo"),
          ),
          body: Center(
              child:
                  Icon(LineAwesomeIcons.home, size: 50, color: Colors.green)),
        ));
  }
}

Download details:

Author: clean

Source: https://github.com/clean/line_awesome_flutter

#flutter #android #ios

The Line Awesome Icons Pack for Flutter. Provides 1542 Additional Icons to Use in Your App
8.35 GEEK