AuthyoDesignStyle enum
The visual design language used by the built-in verification dialog.
The integer values mirror the designStyle column stored in the Authyo
dashboard customization (appcustomization.designstyle), so the value
returned by the remote config can be mapped directly with fromValue.
Values
- flat → const AuthyoDesignStyle
-
Solid colours, no shadows, small radius. This is the default and matches the look of the dialog shipped in 1.0.x.
const AuthyoDesignStyle(1, 'flat') - flat2 → const AuthyoDesignStyle
-
Flat with subtle elevation and depth cues.
const AuthyoDesignStyle(2, 'flat2') - minimalism → const AuthyoDesignStyle
-
Monochrome, typography-driven, maximum whitespace.
const AuthyoDesignStyle(3, 'minimalism') - skeuomorphism → const AuthyoDesignStyle
-
Glossy gradients, bevels and realistic depth.
const AuthyoDesignStyle(4, 'skeuomorphism') - claymorphism → const AuthyoDesignStyle
-
Pastel, puffy, large-radius "clay" surfaces.
const AuthyoDesignStyle(5, 'claymorphism') - glassmorphism → const AuthyoDesignStyle
-
Translucent frosted-glass panels over a blurred backdrop.
const AuthyoDesignStyle(6, 'glassmorphism') - neumorphism → const AuthyoDesignStyle
-
Soft extruded/inset surfaces on a single background colour.
const AuthyoDesignStyle(7, 'neumorphism')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- key → String
-
Stable string id (used in JSON and in the example app).
final
- label → String
-
Human readable label for pickers / debugging.
no setter
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
Numeric id as stored in the Authyo backend.
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
Static Methods
-
fromValue(
Object? raw) → AuthyoDesignStyle -
Resolves a style from an
int, a numeric string or a key such as"glassmorphism". Unknown or null values fall back to flat so that an older SDK keeps working when a new style is added on the server.
Constants
-
values
→ const List<
AuthyoDesignStyle> - A constant List of the values in this enum, in order of their declaration.