Skip to content
This repository was archived by the owner on Aug 25, 2022. It is now read-only.
/ flutter_unicons Public archive

1000+ Pixel-perfect svg unicons for your next flutter project

License

Notifications You must be signed in to change notification settings

iuxcode/flutter_unicons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_unicons

flutter_unicons

1000+ Pixel-perfect svg unicons for your next flutter project ispired by Unicons and vue-unicons

Demo

Download the gallery here.

Installation

Add dependency to your pubspec.yaml

dependencies:
  flutter_unicons: #version (current is 0.0.6)

If your project does not use null safety, you should use the following version: 0.0.4

Usage

import 'package:flutter_unicons/flutter_unicons.dart';

class Demo extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return SafeArea(
      child: Column(
        children: [
          Unicon(Unicons.uniLayerGroup),
          Unicon(Unicons.uniCommentAlt)
        ]
      )
    );
  }
}

Options


Name Type Description default value
size double Icon size 24
color Color icon color Colors.black45
fit BoxFit How icon should be inscribed into container BoxFit.contain
allowDrawingOutsideViewBox bool If true, will allow the icon to be drawn outside of the clip boundary of its viewBox. false
animationDuration Duration animation duration Duration(milliseconds: 300)
animationCurve Curve animation curve Curves.fastOutSlowIn
mainAxisAlignment MainAxisAlignment How the icon should be placed along the main axis of his container (ex: MainAxisAlignment.start for left alignment.) MainAxisAlignment.center

Licence

flutter_unicons licensed under MIT. You're free to use these icons in your personal and commercial project.

About

1000+ Pixel-perfect svg unicons for your next flutter project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages