FeatDurations class
Duraciones específicas por caso de uso (features)
Duraciones pre-calibradas para casos de uso comunes en aplicaciones siguiendo mejores prácticas de UX.
Acceso:
Timer(Consts.durations.feat.searchDebounce, () => search());
Tooltip(waitDuration: Consts.durations.feat.tooltipDelay);
SnackBar(duration: Consts.durations.feat.snackbarDuration);
Ver también: BaseDurations para duraciones de escala general
Properties
- apiSimulatedDelay → Duration
-
1500ms - Delay simulado para APIs en modo mock/desarrollo
final
- filterDebounce → Duration
-
400ms - Debounce para filtros
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hoverEffect → Duration
-
100ms - Hover effects en botones/cards
final
- pageTransition → Duration
-
150ms - Transición entre páginas/rutas
final
- quickDebounce → Duration
-
200ms - Debounce rápido para validación en tiempo real
final
- rippleEffect → Duration
-
200ms - Ripple effect (Material Design)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchDebounce → Duration
-
300ms - Debounce óptimo para búsqueda
final
- shimmerAnimation → Duration
-
1500ms - Animación shimmer para skeleton screens
final
- snackbarDuration → Duration
-
2000ms - Duración visible de snackbars/toasts
final
- tooltipDelay → Duration
-
500ms - Delay antes de mostrar tooltip
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