Created
November 20, 2019 18:11
-
-
Save dllewellyn/0c9cfc503b67e3fdb78c0e7cd8faac4b 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
class AccountListItem extends StatelessWidget { | |
final AccountData accountData; | |
const AccountListItem({Key key, this.accountData}) : super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
return Container( | |
padding: const EdgeInsets.all(16.0), | |
child: Row ( | |
crossAxisAlignment: CrossAxisAlignment.start, | |
children: [ | |
AccountTitle(supportedCurrency: accountData.currencyValue), | |
Spacer(), | |
BalanceWidget( | |
balance: accountData.balance, | |
) | |
], | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment