flineicons 0.1.1 flineicons: ^0.1.1 copied to clipboard
The complete LineAwesome Icon pack available as Flutter Icons.
import 'package:flutter/material.dart';
import 'package:flineicons/flineicons.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
primarySwatch: Colors.red,
),
home: MyHomePage(title: 'FLineIcons Demo'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State<MyHomePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: Text(
'FLineIcons pack rocks!',
),
),
floatingActionButton: FloatingActionButton(
onPressed: () => {},
child: Icon(FLineIcons.facebook),
),
);
}
}