AppRoute<T> constructor

AppRoute<T>({
  1. String? name,
  2. int? animationTime,
  3. Map<String, dynamic>? arguments,
  4. AnimType animationType = AnimType.slideRight,
  5. required Widget child,
})

Implementation

AppRoute({
  this.name,
  this.animationTime,
  this.arguments,
  this.animationType = AnimType.slideRight,
  required this.child,
}) : super(pageBuilder: (context, a1, a2) => child);