Skip to content
pubscout

glow_container

1.1.0, released 3 months ago by thomasporro.it

A Flutter widget providing an animated glowing border effect for rectangular containers.

WASM-ready
$ flutter pub add glow_container
Source repository

What it does

GlowContainer is a Flutter widget that enhances rectangular containers with a customizable, dynamic animated glowing border. It supports customizable glow colors, radius, spread, gradients, and animation duration.

AI-written summary of version 1.1.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to create eye-catching buttons or cards with an animated glowing border.
  • You need a customizable rectangular container with gradient glow effects.

Skip it when

  • You need non-rectangular shapes or complex custom paths that go beyond basic rounded rectangles.
  • You are not using Flutter.

Strengths

  • Customizable glow colors, radius, and spread
  • Supports gradient glow effects and animated borders
  • Easy integration with existing Flutter widgets

Weaknesses

  • Limited to rectangular container shapes
  • Provides only a specific visual effect rather than a comprehensive widget library

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
GlowContainer(
  glowRadius: 20,
  gradientColors: [Colors.blue, Colors.purple, Colors.pink],
  rotationDuration: Duration(seconds: 3),
  containerOptions: ContainerOptions(
    width: 200,
    height: 200,
    borderRadius: 15,
    backgroundColor: Colors.black,
  ),
  child: Center(
    child: Text(
      'Glowing Container',
      style: TextStyle(color: Colors.white),
    ),
  ),
)

Alternatives

Packages that do the same job and could replace glow_container.