gradient_containers_plus 1.0.7 copy "gradient_containers_plus: ^1.0.7" to clipboard
gradient_containers_plus: ^1.0.7 copied to clipboard

A Flutter package providing beautiful, customizable gradient containers with advanced features like animations, patterns, and effects.

gradient_containers_plus #

Jam Ali Hassan

Jam Ali Hassan
Flutter Developer

GitHub LinkedIn Portfolio
Pub Version Platform License: MIT

Overview #

A Flutter package that provides beautiful and customizable gradient container templates for your Flutter applications. This package offers pre-designed container widgets with various gradient styles, shadows, and rounded corners to enhance your app's visual appeal.

Installation #

Add this to your package's pubspec.yaml file:

dependencies:
  gradient_containers_plus: ^1.0.7

Usage Examples #

1. Vertical Gradient Container #

Vertical Gradient Custom Vertical Gradient
VerticalGradientContainer(
  height: 150,
  colors: const [Colors.blue, Colors.purple],
  child: const Center(
    child: Text('Vertical Gradient'),
  ),
)

2. Radial Gradient Container #

Radial Gradient Custom Radial Gradient
RadialGradientContainer(
  height: 150,
  colors: const [Colors.orange, Colors.red],
  radius: 0.85,
  child: const Center(
    child: Text('Radial Gradient'),
  ),
)

3. Sweep Gradient Container #

Sweep Gradient Custom Sweep Gradient
SweepGradientContainer(
  height: 150,
  colors: const [
    Colors.green,
    Colors.teal,
    Colors.blue
  ],
  startAngle: 0,
  endAngle: 2 * 3.14159,
  child: const Center(
    child: Text('Sweep Gradient'),
  ),
)

4. Animated Gradient Container #

Animated Gradient Custom Animated Gradient
AnimatedGradientContainer(
  height: 150,
  colors: const [
    Colors.purple,
    Colors.blue,
    Colors.purple
  ],
  duration: const Duration(seconds: 2),
  child: const Center(
    child: Text('Animated Gradient'),
  ),
)

5. Glassmorphic Gradient Container #

Glassmorphic Effect Custom Glassmorphic Effect
GlassmorphicGradientContainer(
  height: 150,
  colors: const [Colors.white, Colors.white],
  blurSigma: 10,
  borderWidth: 1,
  child: const Center(
    child: Text('Glassmorphic Effect'),
  ),
)

6. Neon Gradient Container #

Neon Glow Custom Neon Glow
NeonGradientContainer(
  height: 150,
  colors: const [
    Color(0xFF00FF87),
    Color(0xFF60EFFF)
  ],
  glowIntensity: 0.5,
  glowSpread: 2,
  child: const Center(
    child: Text('Neon Glow'),
  ),
)

Features #

✨ 6 pre-designed gradient container templates:

  • 🎨 Vertical Gradient Container with customizable colors and direction
  • πŸ”„ Radial Gradient Container with adjustable radius and center point
  • 🌈 Sweep Gradient Container with configurable start and end angles
  • ✨ Animated Gradient Container with smooth color transitions
  • 🌟 Glassmorphic Gradient Container with blur and transparency effects
  • πŸ’« Neon Gradient Container with customizable glow effects

🎯 Additional Features:

  • πŸ“± Responsive design with flexible width and height
  • 🎨 Customizable borders, shadows, and corner radius
  • πŸ”Œ Easy integration with any Flutter widget
  • πŸ“š Comprehensive documentation and examples
  • πŸ’» Full Platform Support:
    • Android βœ“
    • iOS βœ“
    • Web βœ“
    • Windows βœ“
    • macOS βœ“
    • Linux βœ“

Customization #

Each container can be customized with:

  • 🎨 Custom colors and gradients
  • πŸ”² Border radius and width
  • πŸ“ Container dimensions
  • πŸ“ Padding and margin
  • ✨ Specific effects (blur, glow, animation duration)
  • πŸŒ— Shadow properties
  • πŸ“ Child widget positioning

Documentation #

For detailed documentation, please visit our API Reference.

Additional Information #

Contributing #

We welcome contributions! To contribute:

  1. 🍴 Fork the repository
  2. 🌿 Create your feature branch
  3. ✍️ Commit your changes
  4. πŸš€ Push to the branch
  5. πŸ“¬ Create a Pull Request

License #

This project is licensed under the MIT License - see the LICENSE file for details.

Contact #

7
likes
0
points
69
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing beautiful, customizable gradient containers with advanced features like animations, patterns, and effects.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on gradient_containers_plus