fancy_gradient_card 0.0.4 copy "fancy_gradient_card: ^0.0.4" to clipboard
fancy_gradient_card: ^0.0.4 copied to clipboard

An amazing package used for creating gradients cards which reduces 80% of code.

Fancy Gradient Cards #

Fancy Gradient Cards package lets you add a beautiful gradient card to your Flutter app.

Installation #

Add the latest version of package to your pubspec.yaml (and rundart pub get):

dependencies:
  fancy_gradient_card: ^0.0.4

Import the package and use it in your Flutter App.

import 'package:fancy_gradient_card/fancy_gradient_card.dart';

Example #

There are a number of properties that you can modify:

  • height
  • width
  • title
  • subtitle
  • network image
  • gradient (color1 and color2)

class FancyCard extends StatelessWidget {
  const FancyCard({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: const FancyGradientCard(
          title: 'Hello World',
          color1: Colors.lightGreenAccent,
          color2: Colors.lightBlue,
          image: 'https://docs.flutter.dev/assets/images/dash/Dashatars.png',
          subtitle: 'This is a new package',
        ),
      ),
    );
  }
}
![flutter_dash](https://github.com/Arun100203/FancyGradientCard/assets/108601293/5cc243de-b9ae-4b1d-a475-8cd950051a84)

Next Goals #

  • ✅ Make Some Animations with Containers and add some additional features.
9
likes
150
points
26
downloads

Publisher

verified publisherarun.engineer

Weekly Downloads

An amazing package used for creating gradients cards which reduces 80% of code.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on fancy_gradient_card