Skip to content
pubscout

spotlight_ant

1.5.0, released 4 weeks ago by an unverified publisher

Highlight specific widgets with custom spotlights and flexible configurations.

WASM-ready
$ flutter pub add spotlight_ant
Source repository

What it does

SpotlightAnt helps focus on specific widgets by wrapping them with customizable spotlights, backdrops, and actions. It provides features like sequential tours using SpotlightShow, animations, and callbacks for user interactions.

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

Use it when

  • You need to guide users through an app tour or feature walkthrough.
  • You want to highlight specific UI components with custom shapes and animations.

Skip it when

  • You need general overlay or tooltip popups without a spotlight cutout effect.
  • Your app does not use Flutter.

Strengths

  • Highly flexible configuration for spotlights, backdrops, actions, and durations.
  • Supports custom builders for spotlights and action layouts.
  • Provides programmatic control over the spotlight tour.

Weaknesses

  • Relies on wrapping widgets inside specific ancestor widgets (SpotlightShow).
  • Limited built-in alternative options cataloged.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1

Just add the package dependency and wrap target widgets with SpotlightShow and SpotlightAnt.

SpotlightShow(
  child: Column(
    children: [
      SpotlightAnt(
        child: MyCircularButton(),
      ),
    ],
  ),
)

Alternatives

Packages that do the same job and could replace spotlight_ant.

Works with

Packages commonly used together with spotlight_ant: ones it builds on, ones built on it, and its own family.