forked from eatvio/eatvio_app
Added navigation between screens
This commit is contained in:
@@ -37,7 +37,11 @@ class ScheduleScreen extends StatelessWidget {
|
||||
SizedBox(height: 67.v),
|
||||
_buildNinetyThree(context),
|
||||
Spacer(),
|
||||
CustomOutlinedButton(text: "lbl2".tr.toUpperCase()),
|
||||
CustomOutlinedButton(
|
||||
text: "lbl2".tr.toUpperCase(),
|
||||
onPressed: () {
|
||||
navigateToAdditional(context);
|
||||
}),
|
||||
SizedBox(height: 17.v),
|
||||
Text("lbl3".tr, style: theme.textTheme.bodyLarge)
|
||||
]))));
|
||||
@@ -102,4 +106,11 @@ class ScheduleScreen extends StatelessWidget {
|
||||
onTapArrowLeft(BuildContext context) {
|
||||
NavigatorService.goBack();
|
||||
}
|
||||
|
||||
/// Navigates to the additionalInformationScreen when the action is triggered.
|
||||
navigateToAdditional(BuildContext context) {
|
||||
NavigatorService.pushNamed(
|
||||
AppRoutes.additionalInformationScreen,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user