DigilockerForm constructor

const DigilockerForm({
  1. Key? key,
  2. required String companyName,
  3. required String secretToken,
  4. String? redirectUrl = 'https://digilocker.meon.co.in/digilocker/thank-you-page',
  5. void onSuccess(
    1. SendEntireDataResponse
    )?,
  6. void onError(
    1. String
    )?,
  7. Color? loadingColor,
  8. Color? primaryColor = Colors.blue,
  9. Color? backgroundColor = Colors.white,
})

Implementation

const DigilockerForm({
  super.key,
  required this.companyName,
  required this.secretToken,
  this.redirectUrl = 'https://digilocker.meon.co.in/digilocker/thank-you-page',
  this.onSuccess,
  this.onError,
  this.loadingColor,
  this.primaryColor = Colors.blue,
  this.backgroundColor = Colors.white,
});