Skip to content

Commit

Permalink
Enable the less performant but more pleasing fading route
Browse files Browse the repository at this point in the history
  • Loading branch information
filiph committed Jun 9, 2018
1 parent 951b77d commit 19c321b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shared/lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:flutter/material.dart';
import 'package:reactive_exploration/src/bloc/main.dart' as bloc;
import 'package:reactive_exploration/src/bloc_complex/main.dart'
as bloc_complex;
Expand All @@ -19,6 +20,8 @@ import 'package:reactive_exploration/src/vanilla/main.dart' as vanilla;
/// the imported files. When you're exploring a particular architecture,
/// just change the `flavor = ...` line below and (hot-)restart the app.
void main() {
MaterialPageRoute.debugEnableFadingRoutes = true;

final flavor = Architecture.vanilla;

print("\n\n===== Running: $flavor =====\n\n");
Expand Down

0 comments on commit 19c321b

Please sign in to comment.