• Hixie's avatar
    Allow route transitions to be more flexible · d4dd786b
    Hixie authored
    - Fix AnimationTiming to have defaults for 'interval' and 'curve' since
      that seems to be how we use it.
    
    - Merge RouteBase.build and RouteBase.buildTransition
    
    - Get rid of HistoryEntry, since it added nothing
    
    - Broke out RouteBase.createPerformance() so subclasses can change what
      is created.
    
    - Build the routes backwards so that we more efficiently avoid building
      hidden routes.
    
    - Introduce an explicit way (!hasContent) for RouteState to avoid
      building, rather than the implicit "build returns null" we had before.
    d4dd786b
animated_value.dart 5.42 KB