OudsTopAppBarAvatarConfig class
Configuration class for the Avatar component within the OudsTopAppBar.
This class defines the visual and accessibility properties of an avatar, supporting two main modes:
- Icon/Image Mode: Using image to display as an image.
- Monogram Mode: Using monogram to display initials (e.g., "A").
Parameters:
- image: Provides the graphical asset.
- monogram: The single letter monogram for this avatar.
- contentDescription: Ensures accessibility compliance.
- monogramBackgroundColor: The background color of the monogram.
- monogramColor: The color of the monogram.
Constructors
Properties
- contentDescription → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- image → String?
-
final
- monogram → String?
-
final
- monogramBackgroundColor → Color?
-
final
- monogramColor → Color?
-
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited