Created
February 10, 2023 11:59
-
-
Save yusufbiberoglu/3c73c5e21b2070b4f6850c1b902618ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ListView.separated( | |
padding: const EdgeInsets.only(top: 120), | |
itemBuilder: (BuildContext context, int index) { | |
return ListTile( | |
tileColor: | |
index.isEven || index == 0 ? Colors.grey[350] : Colors.white, | |
title: const Padding( | |
padding: EdgeInsets.only( | |
left: 11, | |
right: 15, | |
top: 15, | |
bottom: 15, | |
), | |
child: Text( | |
'Lorem ipsum dolor sit amet consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', | |
), | |
), | |
); | |
}, | |
separatorBuilder: (context, index) => const Divider( | |
indent: 28, | |
endIndent: 28, | |
height: 1, | |
thickness: 1, | |
color: Colors.black, | |
), | |
itemCount: 7, | |
), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment