AppSizesAvatars class
Tamaños de avatares (radio del CircleAvatar)
Proporciona los radios estándar para CircleAvatar y componentes de perfil de usuario.
🎨 Uso
CircleAvatar(
radius: AppSizesAvatars._().md, // 40.0
child: Text('AB'),
)
CircleAvatar(
radius: AppSizesAvatars._().massive, // 128.0 (perfil completo)
backgroundImage: NetworkImage('url'),
)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- huge → double
-
96.0 - Avatar enorme
no setter
- lg → double
-
48.0 - Avatar grande (detalles, cards)
no setter
- massive → double
-
128.0 - Avatar masivo (página de perfil completa)
no setter
- md → double
-
40.0 - Avatar mediano (listas estándar)
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sm → double
-
32.0 - Avatar pequeño (chips, tags)
no setter
- xl → double
-
64.0 - Avatar extra grande (perfiles)
no setter
- xs → double
-
24.0 - Avatar extra pequeño (listas compactas)
no setter
- xxl → double
-
80.0 - Avatar muy grande
no setter
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