cleanup code
This commit is contained in:
@@ -14,7 +14,8 @@ Widget itemTitle(BuildContext context, String textKey) {
|
||||
);
|
||||
}
|
||||
|
||||
Widget subItemTitle(BuildContext context, String textKey, {IconData? iconData}) {
|
||||
Widget subItemTitle(BuildContext context, String textKey,
|
||||
{IconData? iconData}) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.only(left: 0, top: 0, bottom: 0),
|
||||
child: Row(
|
||||
@@ -74,7 +75,7 @@ Widget contactItem(BuildContext context, String text, IconData iconData,
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Text(
|
||||
text == null ? "" : text,
|
||||
text,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
maxLines: 5,
|
||||
style: TextStyle(
|
||||
|
||||
Reference in New Issue
Block a user