JustTransitionType.slide constructor

JustTransitionType.slide({
  1. TextDirection? textDirection = TextDirection.ltr,
})

Slide transition Needs to be provided as type in JustTransitions.goTo.

Implementation

JustTransitionType.slide({
  this.textDirection = TextDirection.ltr,
})  : type = JustTransitionSpecificType.slide,
      alignment = null,
      axis = null;