It’s time for another coding challenge!
Your challenge is to pause the video, and add the course domainsString property to each ListTile. This should go underneath the course name on the ListTile. There’s actually a property on the ListTile just for this. If you’re not sure on where to add the new property to the ListTile, check out the ListTile documentation on the flutter.dev website for some ideas. All right - pause the video, and good luck.
How was that challenge? Hopefully it wasn’t too bad. You’ve set the course name as the title. If you want to put some text underneath the title, you use the subtitle property. Open your project in progress or open up the starter project for this course. Open the courses_page that you can find in the courses subfolder in the ui folder.
Find your ListTitle widget and underneath the title property, add the subtitle property like so.
subtitle: Text(course.domainsString),
And that’s it. Hot reload your app and you’ll the domains underneath the title.