diff --git a/lib/screens/login_screen.dart b/lib/screens/login_screen.dart index e6d35da..db5f43f 100644 --- a/lib/screens/login_screen.dart +++ b/lib/screens/login_screen.dart @@ -308,7 +308,10 @@ class _LoginScreenState extends State { if (role == 'teacher') { Navigator.pushReplacement( context, - MaterialPageRoute(builder: (context) => const TeacherDashboard()), + MaterialPageRoute( + builder: (context) => + TeacherDashboard(teacherId: studentId, teacherName: name), + ), ); } else if (role == 'admin') { Navigator.pushReplacement( diff --git a/pubspec.yaml b/pubspec.yaml index 09a8bba..b8f7a6a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.1.3+4 +version: 1.1.4+5 environment: sdk: ^3.12.2