Line data Source code
1 : // Copyright 2023 The terCAD team. All rights reserved. 2 : // Use of this source code is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file. 3 : 4 : import 'package:flutter/material.dart'; 5 : 6 : class AppPageRoute<T> extends MaterialPageRoute<T> { 7 3 : AppPageRoute({ 8 : required super.builder, 9 : super.settings, 10 : super.maintainState, 11 : super.fullscreenDialog, 12 : }); 13 : 14 3 : @override 15 : Widget buildTransitions(context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) { 16 : return child; 17 : } 18 : }