InAppBrowserSettings constructor

InAppBrowserSettings({
  1. bool? allowGoBackWithBackButton = true,
  2. String? closeButtonCaption,
  3. Color? closeButtonColor,
  4. bool? closeOnCannotGoBack = true,
  5. bool? hidden = false,
  6. bool? hideCloseButton = false,
  7. bool? hideDefaultMenuItems = false,
  8. bool? hideProgressBar = false,
  9. bool? hideTitleBar = false,
  10. bool? hideToolbarBottom = false,
  11. bool? hideToolbarTop = false,
  12. bool? hideUrlBar = false,
  13. Color? menuButtonColor,
  14. ModalPresentationStyle? presentationStyle,
  15. bool? shouldCloseOnBackButtonPressed = false,
  16. Color? toolbarBottomBackgroundColor,
  17. Color? toolbarBottomTintColor,
  18. bool? toolbarBottomTranslucent = true,
  19. Color? toolbarTopBackgroundColor,
  20. String? toolbarTopFixedTitle,
  21. Color? toolbarTopTintColor,
  22. bool? toolbarTopTranslucent = true,
  23. ModalTransitionStyle? transitionStyle,
  24. double? windowAlphaValue = 1.0,
  25. InAppWebViewRect? windowFrame,
  26. WindowStyleMask? windowStyleMask,
  27. WindowTitlebarSeparatorStyle? windowTitlebarSeparatorStyle,
  28. WindowType? windowType,
})

Officially Supported Platforms/Implementations:

Implementation

InAppBrowserSettings({
  this.allowGoBackWithBackButton = true,
  this.closeButtonCaption,
  this.closeButtonColor,
  this.closeOnCannotGoBack = true,
  this.hidden = false,
  this.hideCloseButton = false,
  this.hideDefaultMenuItems = false,
  this.hideProgressBar = false,
  this.hideTitleBar = false,
  this.hideToolbarBottom = false,
  this.hideToolbarTop = false,
  this.hideUrlBar = false,
  this.menuButtonColor,
  ModalPresentationStyle? presentationStyle,
  this.shouldCloseOnBackButtonPressed = false,
  this.toolbarBottomBackgroundColor,
  this.toolbarBottomTintColor,
  this.toolbarBottomTranslucent = true,
  this.toolbarTopBackgroundColor,
  this.toolbarTopFixedTitle,
  this.toolbarTopTintColor,
  this.toolbarTopTranslucent = true,
  ModalTransitionStyle? transitionStyle,
  this.windowAlphaValue = 1.0,
  this.windowFrame,
  this.windowStyleMask,
  this.windowTitlebarSeparatorStyle,
  this.windowType,
}) : presentationStyle =
         presentationStyle ?? ModalPresentationStyle.FULL_SCREEN,
     transitionStyle = transitionStyle ?? ModalTransitionStyle.COVER_VERTICAL;