SolidNavUserConfig class

Configuration for navigation drawer user information.

Constructors

SolidNavUserConfig.new({required String userName, String? userId, bool showUserId = false, Widget? avatar, IconData? avatarIcon, double? avatarSize, Color? headerBackgroundColor, Color? headerTextColor})
const

Properties

avatar Widget?
Custom user avatar widget (optional).
final
avatarIcon IconData?
Custom user avatar icon (used if avatar widget is null).
final
avatarSize double?
Custom avatar size.
final
hashCode int
The hash code for this object.
no setterinherited
headerBackgroundColor Color?
Background colour for the user header.
final
headerTextColor Color?
Text colour for the user header.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showUserId bool
Whether to show the user ID in the drawer.
final
userId String?
The user's WebID or identifier (optional).
final
userName String
The user's display name.
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