SpotlightStyle class

Visual styling configuration for the spotlight overlay.

Constructors

SpotlightStyle({double blurSigma = 2, Color scrimColor = const Color.fromARGB(60, 0, 0, 0), Duration animationDuration = const Duration(milliseconds: 300)})
Creates a spotlight style with the given visual properties.
const

Properties

animationDuration Duration
Duration of the spotlight show/hide animations.
final
blurSigma double
Blur intensity for the dimmed background.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrimColor Color
Color of the dimmed overlay (scrim) around the spotlight.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited