feat(blogPost): add routing

This commit is contained in:
mso7nueh
2024-07-31 13:10:07 +03:00
parent e6b1218199
commit bdfa671c18
7 changed files with 74 additions and 65 deletions

View File

@@ -139,7 +139,7 @@ class SubscribersScreen extends StatelessWidget {
flex: 1,
child: CustomOutlinedButton(
text: "+",
onPressed: () => GoRouter.of(context).goNamed('blogPostCreateScreen'),
onPressed: () => GoRouter.of(context).pushNamed('blogPostCreateScreen'),
buttonStyle: CustomButtonStyles.outlinePrimaryTL15,
),
),