AppDurations class
API Legacy - Clase de compatibilidad
Esta clase mantiene la API histórica para no romper código existente.
Para nuevo código, usa la nueva API: Consts.durations.base.* y
Consts.durations.feat.*
Migración rápida:
// Antes (legacy)
AppDurations.md
AppDurations.searchDebounce
// Ahora (recomendado)
Consts.durations.base.md
Consts.durations.feat.searchDebounce
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Constants
- apiSimulatedDelay → const Duration
- 1500ms - API simulated delay (mock/desarrollo)
- fast → const Duration
- @deprecated Usa smd
- filterDebounce → const Duration
- 400ms - Debounce para filtros
- giant → const Duration
- 2000ms (2s) - Gigante
- hoverEffect → const Duration
- 100ms - Hover effects
- huge → const Duration
- 1000ms (1s) - Enorme
- lg → const Duration
- 400ms - Lento
- massive → const Duration
- 1500ms (1.5s) - Masivo
- md → const Duration
- 300ms - Mediano (estándar recomendado) ⭐⭐⭐
- mdl → const Duration
- 350ms - Mediano lento
- mds → const Duration
- 250ms - Mediano rápido
- medium → const Duration
- @deprecated Usa md
- mega → const Duration
- 3000ms (3s) - Mega
- pageTransition → const Duration
- 150ms - Transición de página
- quickDebounce → const Duration
- 200ms - Debounce rápido (validación)
- rippleEffect → const Duration
- 200ms - Ripple effects (Material)
- searchDebounce → const Duration
- 300ms - Debounce para búsqueda
- shimmerAnimation → const Duration
- 1500ms - Shimmer animation (skeleton loading)
- slow → const Duration
- @deprecated Usa lg
- sm → const Duration
- 150ms - Muy rápido
- smd → const Duration
- 200ms - Rápido ⭐
- snackbarDuration → const Duration
- 2000ms - Duración visible de snackbars
- tooltipDelay → const Duration
- 500ms - Delay de tooltips
- ultraFast → const Duration
- @deprecated Usa xs
- verySlow → const Duration
- @deprecated Usa xxxl
- xl → const Duration
- 500ms - Extra lento
- xs → const Duration
- 100ms - Extra rápido
- xxl → const Duration
- 600ms - Extra extra lento
- xxs → const Duration
- 50ms - Ultra rápido
- xxxl → const Duration
- 800ms - Muy lento