FluidCoinsWidget constructor Null safety

const FluidCoinsWidget(
  1. {Key? key,
  2. required String apiKey,
  3. required String email,
  4. required int amount,
  5. required String name,
  6. required String phone,
  7. required Map<String, dynamic> metadata,
  8. Widget? errorWidget,
  9. String reference = ''}
)

Implementation

const FluidCoinsWidget({
  Key? key,
  required this.apiKey,
  required this.email,
  required this.amount,
  required this.name,
  required this.phone,
  required this.metadata,
  this.errorWidget,
  this.reference: '',
}) : super(key: key);