mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 02:23:46 +02:00
feat(user-stories): add all routes to gorouter and navigator user stories
This commit is contained in:
parent
910c36241a
commit
654b621ba7
2 changed files with 6 additions and 5 deletions
|
@ -82,6 +82,7 @@ void createPost(
|
||||||
onPostOverview: (post) {
|
onPostOverview: (post) {
|
||||||
navigateToOverview(context, service, options, post);
|
navigateToOverview(context, service, options, post);
|
||||||
},
|
},
|
||||||
|
enablePostOverviewScreen: configuration.enablePostOverviewScreen,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -115,9 +115,9 @@ Widget _postDetailScreenRoute({
|
||||||
|
|
||||||
/// A widget function that creates a post creation screen route.
|
/// A widget function that creates a post creation screen route.
|
||||||
///
|
///
|
||||||
/// This function creates a route for displaying a post creation screen. It takes
|
/// This function creates a route for displaying a post creation screen.
|
||||||
/// a [BuildContext] and an optional [TimelineUserStoryConfiguration] as
|
/// It takes a [BuildContext] and an optional [TimelineUserStoryConfiguration]
|
||||||
/// parameters. If no configuration is provided, default values will be used.
|
/// as parameters. If no configuration is provided, default values will be used.
|
||||||
Widget _postCreationScreenRoute({
|
Widget _postCreationScreenRoute({
|
||||||
required BuildContext context,
|
required BuildContext context,
|
||||||
TimelineUserStoryConfiguration? configuration,
|
TimelineUserStoryConfiguration? configuration,
|
||||||
|
@ -171,8 +171,8 @@ Widget _postCreationScreenRoute({
|
||||||
|
|
||||||
/// A widget function that creates a post overview screen route.
|
/// A widget function that creates a post overview screen route.
|
||||||
///
|
///
|
||||||
/// This function creates a route for displaying a post overview screen. It takes
|
/// This function creates a route for displaying a post overview screen.
|
||||||
/// a [BuildContext], a [TimelinePost], and an optional
|
/// It takes a [BuildContext], a [TimelinePost], and an optional
|
||||||
/// [TimelineUserStoryConfiguration] as parameters. If no configuration is
|
/// [TimelineUserStoryConfiguration] as parameters. If no configuration is
|
||||||
/// provided, default values will be used.
|
/// provided, default values will be used.
|
||||||
Widget _postOverviewScreenRoute({
|
Widget _postOverviewScreenRoute({
|
||||||
|
|
Loading…
Reference in a new issue