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,
        )),
      ),
    );
  }
}
90
likes
150
points
1.62k
downloads

Documentation

API reference

Publisher

verified publishermohamedashraf.in

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.

License

MIT (license)

Dependencies

flutter

More

Packages that depend on gradient_icon