gradient_icon 1.0.0 copy "gradient_icon: ^1.0.0" to clipboard
gradient_icon: ^1.0.0 copied to clipboard

The Gradient Icon package is a powerful Flutter package that enables creating gradient icons effortlessly. It adds visual appeal to your app's UI by applying gradient effects to icons.

Gradient Icon #

Pub Version Flutter Platform

A Flutter package that provides gradient icons, allowing you to apply gradient effects to your icons.

Features #

  • Easily create icons with customizable gradients.
  • Supports various gradient types, including linear, radial, and sweep gradients.
  • Highly customizable with control over colors, directions, and more.

Installation #

Add the following line to your pubspec.yaml file:

dependencies:
  gradient_icon: ^1.0.0

Then run flutter pub get to fetch the package.

Usage #

Import the package into your Dart file:

import 'package:gradient_icon/gradient_icon.dart';

Use the GradientIcon widget in your Flutter app:

GradientIcon(
  icon: Icons.star,
  gradient: LinearGradient(
    colors: [Colors.red, Colors.blue],
    begin: Alignment.topLeft,
    end: Alignment.bottomRight,
  ),
  size: 30,
),

For more advanced usage and customization options, refer to the package's API documentation.

Examples #

You can find more usage examples in the example folder of this repository.

License #

This project is licensed under the MIT License.

Contributing #

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

Acknowledgements #

This package was inspired by the need for gradient icons in Flutter and aims to provide an easy-to-use solution for applying gradients to icons.

Get in touch #

If you have any questions, feel free to reach out:

83
likes
150
points
2.15k
downloads

Publisher

verified publisherashraf.digital

Weekly Downloads

The Gradient Icon package is a powerful Flutter package that enables creating gradient icons effortlessly. It adds visual appeal to your app's UI by applying gradient effects to icons.

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on gradient_icon