Skip to content

Commit

Permalink
make NoAnimationTransitionDelegate const
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Aug 28, 2024
1 parent a2bbd27 commit e568e55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app_navigator/lib/src/transition_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import 'package:flutter/material.dart';

/// No animation delegate.
class NoAnimationTransitionDelegate extends TransitionDelegate<void> {
/// No animation delegate.
const NoAnimationTransitionDelegate();
@override
Iterable<RouteTransitionRecord> resolve({
required List<RouteTransitionRecord> newPageRouteHistory,
Expand Down

0 comments on commit e568e55

Please sign in to comment.