JustTransitionType.scale constructor

JustTransitionType.scale({
  1. Alignment? alignment = Alignment.center,
})

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

Implementation

JustTransitionType.scale({
  this.alignment = Alignment.center,
})  : type = JustTransitionSpecificType.scale,
      axis = null,
      textDirection = null;