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,
),
),
),
);
}
}
Comments are closed.