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.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:gradient_icon/gradient_icon.dart';


void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Gradient Icons'),
        ),
        body: const Center(
            child: GradientIcon(
          icon: Icons.home,
          gradient: LinearGradient(
            colors: [Colors.red, Colors.blue],
            begin: Alignment.topLeft,
            end: Alignment.bottomRight,
          ),
          size: 50,
        )),
      ),
    );
  }
}
83
likes
150
points
2.09k
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