UGoldBalanceCard constructor

const UGoldBalanceCard({
  1. required double balance,
  2. Key? key,
  3. double? value,
  4. double? buyUnitPrice,
  5. double? sellUnitPrice,
  6. DateTime? updatedAt,
  7. bool isLoading = false,
  8. String? errorText,
  9. Gradient? gradient,
  10. VoidCallback? onRefresh,
  11. VoidCallback? onHistory,
})

Implementation

const UGoldBalanceCard({
  required this.balance,
  super.key,
  this.value,
  this.buyUnitPrice,
  this.sellUnitPrice,
  this.updatedAt,
  this.isLoading = false,
  this.errorText,
  this.gradient,
  this.onRefresh,
  this.onHistory,
});