Fixed the route to practice setup page
This commit is contained in:
parent
034d787731
commit
7864ede6ee
2 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ class AppDrawer extends StatelessWidget {
|
||||||
title: Text("Practice Months"),
|
title: Text("Practice Months"),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
Navigator.pushNamed(context, "/practice/month/setup");
|
Navigator.pushNamed(context, "/practice/setup");
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'file:///D:/dev/projects/ohthatsa/lib/pages/practice/PracticeSetupPage.dart';
|
|
||||||
import 'package:ohthatsa/pages/YearsPage.dart';
|
import 'package:ohthatsa/pages/YearsPage.dart';
|
||||||
|
|
||||||
|
import 'package:ohthatsa/pages/practice/PracticeSetupPage.dart';
|
||||||
import 'package:ohthatsa/pages/practice/month/MonthPracticePage.dart';
|
import 'package:ohthatsa/pages/practice/month/MonthPracticePage.dart';
|
||||||
import 'package:ohthatsa/pages/MonthValuesPage.dart';
|
import 'package:ohthatsa/pages/MonthValuesPage.dart';
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ class OhThatsA extends StatelessWidget {
|
||||||
routes: {
|
routes: {
|
||||||
'/monthValues': (context) => MonthValuesPage(),
|
'/monthValues': (context) => MonthValuesPage(),
|
||||||
'/years': (context) => YearsPage(),
|
'/years': (context) => YearsPage(),
|
||||||
'/practice/month/setup': (context) => PracticeSetupPage(),
|
'/practice/setup': (context) => PracticeSetupPage(),
|
||||||
'/practice/month/practice': (context) => MonthPracticePage(),
|
'/practice/month/practice': (context) => MonthPracticePage(),
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue