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

An simple Flutter Package.

Fancy Gradient Cards #

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

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  fancy_gradient_card: ^0.0.3
  1. 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',
        ),
      ),
    );
  }
}
fancy card image

Next Goals #

  • Make Some Animations with Containers and add some additional features.