Search packages, repositories and app categories

aura_box cover
Package detailsv1.0.2

aura_box

Flutter Widget that combines multiple radial gradients and blur effect.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
416
Likes
74
Pub points
160

Install package

flutter pub add aura_box

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Aura Box is a Flutter widget that creates visually striking background effects by combining multiple radial gradients with a blur overlay. Ideal for modern app interfaces, it enhances visual depth and elegance without heavy performance costs. The widget supports smooth animations and customizable gradient colors, intensities, and blur levels. It works across all major platforms including Android, iOS, Web, macOS, Windows, and Linux, making it versatile for cross-platform development. Perfect for splash screens, login pages, or immersive UIs.

Use cases

  • Splash screens
  • Login and onboarding screens
  • Immersive dashboard backgrounds
  • App theme customization
  • Animated UI transitions

Key features

  • Multiple radial gradients
  • Blur effect integration
  • Cross-platform compatibility
  • Customizable gradient colors
  • Smooth animation support
  • Lightweight performance

Suitable for

  • Design-focused Flutter apps
  • Modern UI/UX implementations
  • Background enhancement in mobile and web apps
  • Developers seeking visual polish
  • Creative app prototypes

Considerations

  • May impact performance on low-end devices
  • Requires careful color selection to avoid visual clutter
  • Not suitable for content-heavy layouts
  • Best used as background, not primary content container
  • Limited interactivity out of the box

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Aura Box

style: very good analysis patrol_finders on pub.dev License: MIT

Flutter widget that combines multiple radial gradients and blur effect.

Aura box banner image

Installation

Add this line into the project pubspec.yaml file.

dependencies:
    aura_box: ^1.0.4

Then in your files you can import it:

import 'package:aura_box/aura_box.dart';

Usage

The package exposes two widgets.

  • AuraBox acts as a container which can receive a child, a decoration and a list of AuraSpot.
  • AuraSpot represent the point where the radiant gradients are generated.
AuraBox(
    spots: [
        // Places one blue spot in the center
        AuraSpot(
            color: Colors.blue,
            radius: 100.0,
            alignment: Alignment.center,
            blurRadius: 5.0,
            stops: const [0.0, 0.5],
        ),
        // Places one red spot in the bottom right
        AuraSpot(
            color: Colors.red,
            radius: 150.0,
            alignment: Alignment.bottomRight,
            blurRadius: 10.0,
            stops: const [0.0, 0.7],
        ),
    ],
    decoration: BoxDecoration(
        color: Colors.transparent,
        shape: BoxShape.rectangle,
        borderRadius: BorderRadius.circular(10.0),
    ),
    child: const SizedBox(
        height: 100,
        width: 100,
    ),
)

Alignment

The single spots are positioned inside a stack widget. This gives control over their position using the alignment property.

For further details you can refer to the Alignment class documentation.

Example

An example project is available within the project:

example

Categories

Source repository

Projects using this package