Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added TickerProvider for ViewModel , Sample usage added #1087

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion example/router_example/lib/app/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import 'package:stacked_services/stacked_services.dart';
import 'package:stacked_shared/stacked_shared.dart';
import 'package:stacked_themes/stacked_themes.dart';

import 'package:example/ui/ticker/ticker_view.dart';
import 'custom_route_transition.dart';

@StackedApp(
Expand All @@ -39,7 +40,7 @@ import 'custom_route_transition.dart';
page: FavoritesView,
children: [
MaterialRoute(page: MultipleFuturesExampleView),
CustomRoute(page: HistoryView),
//CustomRoute(page: HistoryView),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is HistoryView removed?

],
),
CustomRoute(
Expand All @@ -54,6 +55,7 @@ import 'custom_route_transition.dart';
page: NonReactiveView,
transitionsBuilder: CustomRouteTransition.sharedAxis,
),
MaterialRoute(page: TickerView),
],
dependencies: [
// Lazy singletons
Expand Down
Loading