TosspaymentsInAppWebview constructor

const TosspaymentsInAppWebview({
  1. Key? key,
  2. required String initialHtml,
  3. required Future<bool> handleOverrideUrl(
    1. String
    ),
  4. String? domain,
  5. Set<JavascriptChannel>? baseJavascriptChannel,
  6. bool gestureEnabled = false,
})

Implementation

const TosspaymentsInAppWebview({
  Key? key,
  required String initialHtml,
  required Future<bool> Function(String) handleOverrideUrl,
  this.domain,
  Set<JavascriptChannel>? baseJavascriptChannel,
  bool gestureEnabled = false,
})  : _baseJavascriptChannel = baseJavascriptChannel,
      _handleOverrideUrl = handleOverrideUrl,
      _initialHtmlString = initialHtml,
      _gestureEnabled = gestureEnabled,
      super(key: key);