Skip to content

I8 example list#10

Open
JuniorArt225 wants to merge 2 commits into
mainfrom
i8_example_list
Open

I8 example list#10
JuniorArt225 wants to merge 2 commits into
mainfrom
i8_example_list

Conversation

@JuniorArt225
Copy link
Copy Markdown
Collaborator

Update StoryListTile widget

Copy link
Copy Markdown
Owner

@ethnosdev ethnosdev left a comment

Choose a reason for hiding this comment

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

There is one change to make before this can be merged.

leading: Text("$storyNumber"),
title: Text("Story $storyTitle"),
);
return InkWell(
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

ListTile already has an onTap property, so let's call that instead of using an InkWell. You can add a void Function()? onTap property to StoryListTile and then just pass it on to ListTile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants