TransferWidget constructor

const TransferWidget({
  1. Key? key,
  2. required String? authToken,
  3. required String? platform,
  4. required String? tenantId,
  5. required String? bannerImage,
  6. String? baseUrl,
  7. bool? isTrannfer,
  8. bool? isUsername,
  9. bool? isUssd,
  10. bool? isPhonenumber,
  11. required String? accountName,
  12. required String? accountNumber,
  13. required String? deviceId,
  14. required String? notificationType,
  15. required double? amount,
})

Implementation

const TransferWidget({
  Key? key,
  required this.authToken,
  required this.platform,
  required this.tenantId,
  required this.bannerImage,
  this.baseUrl,
  bool? isTrannfer,
  bool? isUsername,
  bool? isUssd,
  bool? isPhonenumber,
  required this.accountName,
  required this.accountNumber,
  required this.deviceId,
  required this.notificationType,
  required this.amount,
})  : this.isTrannfer = isTrannfer ?? false,
      this.isUsername = isUsername ?? false,
      this.isPhonenumber = isPhonenumber ?? false,
      this.isUssd = isUssd ?? false,
      super(key: key);