line_awesome_icons 1.0.0 line_awesome_icons: ^1.0.0 copied to clipboard
The Line Awesome Icon pack available as Flutter Icons
line_awesome_icons #
The Line Awesome Icon pack available as Flutter Icons
Getting Started #
This plugin is based on Line Awesome Icons pack, which you can use it as an IconData in Flutter project https://icons8.com/line-awesome/cheatsheet
Usage #
To use plugin, just import package import 'package:line_awesome_icons/line_awesome_icons.dart';
add use it as IconData in Icon widget:
Icon(LineAwesomeFonts.reddit, size: 60.0, color: Colors.redAccent))
Example #
import 'package:flutter/material.dart';
import 'package:line_awesome_icons/line_awesome_icons.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: Icon(
LineAwesomeFonts.reddit,
size: 60.0,
color: Colors.redAccent,
),
),
),
);
}
}