Contact’s Addresses
Explore how to enhance a Flutter contact profile page by adding email and home address widgets. Learn to build these with ListTile and Icon widgets, integrate dividers, and customize properties. Gain practical skills in organizing contact information visually within your app.
We'll cover the following...
We'll cover the following...
Add email address
In this lesson, we will work on adding an email address and physical home address for the contact.
We’ll add two methods to achieve this:
emailListTile(): builds widget for the email addressaddressListTile(): builds widget for the contact’s physical address.
Create a method for emailListTile() similar to the call list tile in the previous lesson. This widget would use the ListTile widget as well.
-
The
leadingproperty is used to display theIcons.emailicon. -
The ...