Skip to content

An simple flutter package, By using this we can make a card with image and description.

License

Notifications You must be signed in to change notification settings

Arun100203/FancyGradientCard

Repository files navigation

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.1
  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',
        ),
      ),
    );
  }
}

flutter_dash

Next Goals

  • Make Some Animations with Containers.

About

An simple flutter package, By using this we can make a card with image and description.

Resources

License

Stars

Watchers

Forks

Packages

No packages published