animation property

Animation<double>? animation

Get the page transition animation

Implementation

Animation<double>? get animation {
  final r = getElementForInheritedWidgetOfExactType<SubRoute>()?.widget
      as SubRoute?;
  return r?.animation;
}