Skip to content
pubscout

gradient_glow_border

2.0.2, released a year ago by an unverified publisher

Create animated solid, dashed, and dotted gradient borders with customizable glow effects.

WASM-ready
$ flutter pub add gradient_glow_border
Source repository

What it does

Gradient Glow Border is a Flutter package that adds animated gradient borders to any widget. It supports solid, dashed, and dotted styles, customizable border radii, glow effects, and animation controls.

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

Use it when

  • You need to draw animated gradient borders around containers or widgets.
  • You require customizable dashed, dotted, or solid gradient border styles with glow shadows.

Skip it when

  • You need complex physics-based animations or vector graphics (consider rive).
  • You are building standard non-animated Material borders.

Strengths

  • Supports multiple styles including solid, dashed, and dotted gradient borders.
  • Includes built-in glow effects with blur and spread radius.
  • Provides simple factory constructors for fast implementation.

Weaknesses

  • Limited to border and glow decoration effects.
  • No documentation on platform-specific limitations.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
SizedBox(
  height: 70,
  width: double.infinity,
  child: GradientGlowBorder.solid(
    borderRadius: BorderRadius.all(Radius.circular(15)),
    colors: [
      Colors.blue,
      Colors.red,
    ],
    child: Center(
      child: Text("Mohamed Elbaiomy"),
    ),
  ),
)

Alternatives

Packages that do the same job and could replace gradient_glow_border.

  • flutter_animate

    If you want general-purpose animation utilities for various widget properties rather than strictly gradient borders.