custom_containers

A highly customizable, reusable gradient container widget for Flutter apps.
Supports gradients, shadows, border radius, padding, text styles, child widgets, and tap gestures.

Installation

Add the latest version of the package to your pubspec.yaml:

dependencies:
  custom_gradient_containers: ^0.0.1

## Features
- Gradient colors or custom Gradient
- Width, height, padding, and border radius
- Optional title, subtitle, or child widget
- OnTap callback support
- Custom text styles and shadows
- Easy to integrate in any Flutter app

## Then run:
flutter pub get

Import
import 'package:custom_gradient_containers/custom_gradient_containers.dart';

## Example

You can customize a CustomContainer with title, subtitle, gradient, size, and more:

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("Custom Container Example")),
      body: Center(
        child: const CustomContainer(
          title: 'Hello World',
          subtitle: 'This is a custom container',
          height: 200,
          width: 300,
          color1: Colors.purple,
          color2: Colors.blue,
        ),
      ),
    );
  }
}

![Demo](example/assets/cuco.jpg)

## Next Goals
Add more built-in container styles
Support for animated gradients
More customization options for text and shadow