timeframe method

TimeKeyframe<T> timeframe({
  1. int days = 0,
  2. int hours = 0,
  3. int minutes = 0,
  4. int seconds = 0,
  5. int milliseconds = 0,
  6. int microseconds = 0,
  7. Curve curve = Curves.linear,
})

Implementation

TimeKeyframe<T> timeframe(
    {int days = 0,
    int hours = 0,
    int minutes = 0,
    int seconds = 0,
    int milliseconds = 0,
    int microseconds = 0,
    Curve curve = Curves.linear}) {
  return TimeKeyframe(
      Duration(
        days: days,
        hours: hours,
        minutes: minutes,
        seconds: seconds,
        milliseconds: milliseconds,
        microseconds: microseconds,
      ),
      this,
      curve: curve);
}