icon property
IconData
get
icon
Implementation
IconData get icon {
switch (tag) {
case TagWalletTxn.charge:
return Icons.add_card_outlined;
case TagWalletTxn.transfer:
return Icons.swap_horiz;
case TagWalletTxn.chargeSimPin:
case TagWalletTxn.chargeSimTopup:
return Icons.sim_card_outlined;
case TagWalletTxn.internetSim:
return Icons.wifi;
case TagWalletTxn.vehicleViolationsDetail:
case TagWalletTxn.licencePlateDetail:
case TagWalletTxn.freewayTolls:
return Icons.directions_car_outlined;
case TagWalletTxn.drivingLicenceStatus:
case TagWalletTxn.drivingLicenceNegativePoint:
return Icons.badge_outlined;
case TagWalletTxn.merchantCreationFee:
return Icons.storefront_outlined;
case TagWalletTxn.mobileAndNationalCodeVerification:
case TagWalletTxn.zipCodeToAddressDetail:
case TagWalletTxn.iBanToBankAccountDetail:
return Icons.fact_check_outlined;
case null:
return isOutgoing() ? Icons.north_east : Icons.south_west;
}
}