ico 0.0.3 copy "ico: ^0.0.3" to clipboard
ico: ^0.0.3 copied to clipboard

Flutter plugin for amazing icons.

ico #

Pub Licence

Platform Support #

Android iOS MacOS Web Linux Windows

The Ico pack available as set of Flutter Icons.

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

dependencies:
  ico: <latest_version>

Ico Class Usage #

Icon names #

Icon names equal those on the official website, but are written in lower camel case.

Examples: #

Icon name Code Style
gamepad_filled Ico.gamepad_filled solid
printer_filled Ico.printer_filled filled
microphone_outline Ico.microphone_outline outlined
import 'package:ico/ico.dart';
class MyWidget extends StatelessWidget {
// Use the Default Icon Widget + Ico class for the IconData
  Widget build(BuildContext context) {
    return Icon(Ico.processor_outline);
  }
}

IcoG Class Usage #

  • shadows → A list of [Shadow]s that will be painted underneath the text.
    Multiple shadows are supported to replicate lighting from multiple light sources.
  • gradient → Creates a custom gradient. By useing LinearGradient, RadialGradient, SweepGradient

Examples: #

 // Render a Gradient Icon on the screen
 IcoG(
       Ico.apple_filled,
       size: 200,
       colors: icogGlobalWarming,
       shadows: [
         Shadow(color: Colors.black, blurRadius: 3, offset: Offset(2, 2))
       ],
     );

12
likes
140
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for amazing icons.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ico