Created
July 16, 2021 02:28
-
-
Save enzoftware/988ccf02aeef795be4d41110bf1f696d 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
return Semantics( | |
label: 'Transaction $type of $amount on $date', | |
// 1 | |
child: ExcludeSemantics( | |
// 2 | |
child: ListTile( | |
leading: TransactionIndicator(transactionType: transaction.type), | |
title: Text(transaction.description), | |
subtitle: Text(transaction.date), | |
trailing: Text(transaction.amount.toString()), | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment