SolidLogoutConfig class

Configuration for logout functionality.

Constructors

SolidLogoutConfig.new({bool enabled = true, IconData icon = Icons.logout, String text = 'Logout', required void onLogout(BuildContext), Color? color})
const

Properties

color Color?
Custom colour for logout elements.
final
enabled bool
Whether to show logout option.
final
hashCode int
The hash code for this object.
no setterinherited
icon IconData
Custom logout icon.
final
onLogout → void Function(BuildContext)
The logout callback.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Custom logout text.
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