EnrollStepIcon class

Configuration for a single custom icon.

assetName is the Android drawable resource name (without the R.drawable. prefix). For example, if your drawable file is res/drawable/my_location_icon.png, pass "my_location_icon".

renderingMode controls whether the icon is tinted to match the theme or rendered with its original colors. Defaults to EnrollIconRenderingMode.original.

Constructors

EnrollStepIcon({required String assetName, EnrollIconRenderingMode renderingMode = EnrollIconRenderingMode.original})
const

Properties

assetName String
The Android drawable resource name (e.g. "my_location_icon").
final
hashCode int
The hash code for this object.
no setterinherited
renderingMode EnrollIconRenderingMode
How the icon should be rendered.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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