SaafeWebViewWidget constructor

const SaafeWebViewWidget({
  1. Key? key,
  2. required String redirectUrl,
  3. dynamic onSuccess(
    1. String
    )?,
  4. dynamic onError(
    1. String
    )?,
  5. dynamic onLoad()?,
  6. dynamic onCancel()?,
  7. bool showCloseButton = true,
  8. DisplayMode displayMode = DisplayMode.bottomSheet,
})

Implementation

const SaafeWebViewWidget({
  Key? key,
  required this.redirectUrl,
  this.onSuccess,
  this.onError,
  this.onLoad,
  this.onCancel,
  this.showCloseButton = true,
  this.displayMode = DisplayMode.bottomSheet,
}) : super(key: key);