An open API service indexing awesome lists of open source software.

https://github.com/mohamedashraf701/gradient-icon

The Gradient Icon package is a powerful Flutter package that enables creating gradient icons effortlessly.
https://github.com/mohamedashraf701/gradient-icon

colo colors dart flutter flutter-package gradient gradient-icon gradients icon icons linear-gradient package

Last synced: 5 months ago
JSON representation

The Gradient Icon package is a powerful Flutter package that enables creating gradient icons effortlessly.

Awesome Lists containing this project

README

          

# Gradient Icon

[![Pub Version](https://img.shields.io/pub/v/gradient_icon.svg)](https://pub.dev/packages/gradient_icon)
![Flutter Platform](https://img.shields.io/badge/platform-flutter-yellow)

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

Gradient 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:

```yaml
dependencies:
gradient_icon: ^2.0.9
```

Then run `flutter pub get` to fetch the package.

## Usage

Import the package into your Dart file:

```dart
import 'package:gradient_icon/gradient_icon.dart';
```

Use the `GradientIcon` widget in your Flutter app:

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

## Documentation

For detailed usage instructions and API documentation, please refer to the [documentation](https://pub.dev/documentation/gradient_icon/latest/).

## Examples

You can find more usage examples in the [example](example) folder of this repository.

## License

This project is licensed under the [MIT License](https://github.com/MohamedAshraf701/gradient-icon/blob/main/LICENSE).

## Changelog

See the [CHANGELOG](https://github.com/MohamedAshraf701/gradient-icon/blob/main/CHANGELOG.md) for a history of changes in the package.

## Contributing

Contributions to the `gradient_icon` package are welcome! Please read the [contribution guidelines](CONTRIBUTING.md) before submitting 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:

- Email: ashrafchauhan567@gmail.com
- Githube: [@MohamedAshraf701](https://github.com/MohamedAshraf701)

# Support

ashraf704