IndicatorStyle class

A Style to customize the NeumorphismIndicator

the gradient will use accent and variant

the gradient shape will be a roundrect, using borderRadius

you can define a custom depth for the roundrect

you can update the gradient orientation using gradientStart & gradientEnd

Constructors

IndicatorStyle({double depth = -4, Color? accent, LightSource? lightSource, Color? variant, bool? disableDepth, AlignmentGeometry? gradientStart, AlignmentGeometry? gradientEnd})
const

Properties

accent Color?
final
depth double
final
disableDepth bool?
final
gradientEnd AlignmentGeometry?
final
gradientStart AlignmentGeometry?
final
hashCode int
The hash code for this object.
no setteroverride
lightSource LightSource?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
variant Color?
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.
override