mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 02:23:46 +02:00
test feature
This commit is contained in:
parent
54b433e96b
commit
d973d22391
1 changed files with 3 additions and 3 deletions
|
@ -63,12 +63,12 @@ class WidgetBookApp extends StatelessWidget {
|
|||
)
|
||||
Widget postScreenUseCase(BuildContext context) {
|
||||
var service = TestTimelineService()..fetchPosts(null);
|
||||
var options = const TimelineOptions();
|
||||
var options = const TimelineOptions(doubleTapTolike: true);
|
||||
return TimelinePostScreen(
|
||||
userId: '2',
|
||||
service: service,
|
||||
options: options,
|
||||
post: service.posts.first,
|
||||
post: service.posts.last,
|
||||
onPostDelete: () {},
|
||||
);
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ Widget postScreenUseCase(BuildContext context) {
|
|||
)
|
||||
Widget timelineUseCase(BuildContext context) {
|
||||
var service = TestTimelineService()..fetchPosts(null);
|
||||
var options = const TimelineOptions();
|
||||
var options = const TimelineOptions(doubleTapTolike: true);
|
||||
return TimelineScreen(
|
||||
userId: '2',
|
||||
options: options,
|
||||
|
|
Loading…
Reference in a new issue