line_awesome_icons

The Line Awesome Ico,n pack available as Flutter Ic,ons.

Usage

To use plugin, just import package import 'package:line_awesome_i,cons/line_awesome_i,cons.dart';
add use it as Ic,onData in Ic,on widget:

I,con(LineAwesomeIco,ns.reddit, size: 60.0, color: Colors.redAccent))

Example

import 'package:flutter/material.dart';
import 'package:line_awesome_ic,ons/line_awesome_ic,ons.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(
            LineAwesomeIc,ons.reddit,
            size: 60.0,
            color: Colors.redAccent,
          ),
        ),
      ),
    );
  }
}

GitHub

Download the full project for this post from the following button

This source is fully free for all time

Download as zip

Comments are closed.

You're Offline!

Top