XDurationsData constructor

const XDurationsData({
  1. bool? areAnimationEnabled,
  2. Duration? slow,
  3. Duration? regular,
  4. Duration? quick,
})

Implementation

const XDurationsData({
  final bool? areAnimationEnabled,
  final Duration? slow,
  final Duration? regular,
  final Duration? quick,
})  : _areAnimationEnabled = areAnimationEnabled ?? true,
      _slow =
          slow ?? const Duration(milliseconds: XStandardMilliseconds.x500),
      _regular =
          regular ?? const Duration(milliseconds: XStandardMilliseconds.x300),
      _quick =
          quick ?? const Duration(milliseconds: XStandardMilliseconds.x100);