IOSSafariOptions class Null safety

This class represents all the iOS-only ChromeSafariBrowser options available.

Implemented types

Constructors

IOSSafariOptions({bool entersReaderIfAvailable = false, bool barCollapsingEnabled = false, IOSSafariDismissButtonStyle dismissButtonStyle = IOSSafariDismissButtonStyle.DONE, Color? preferredBarTintColor, Color? preferredControlTintColor, IOSUIModalPresentationStyle presentationStyle = IOSUIModalPresentationStyle.FULL_SCREEN, IOSUIModalTransitionStyle transitionStyle = IOSUIModalTransitionStyle.COVER_VERTICAL})

Properties

barCollapsingEnabled bool
Set to true to enable bar collapsing. The default value is false.
read / write
dismissButtonStyle IOSSafariDismissButtonStyle
Set the custom style for the dismiss button. The default value is IOSSafariDismissButtonStyle.DONE. [...]
read / write
entersReaderIfAvailable bool
Set to true if Reader mode should be entered automatically when it is available for the webpage. The default value is false.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
preferredBarTintColor Color?
Set the custom background color of the navigation bar and the toolbar. [...]
read / write
preferredControlTintColor Color?
Set the custom color of the control buttons on the navigation bar and the toolbar. [...]
read / write
presentationStyle IOSUIModalPresentationStyle
Set the custom modal presentation style when presenting the WebView. The default value is IOSUIModalPresentationStyle.FULL_SCREEN.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
transitionStyle IOSUIModalTransitionStyle
Set to the custom transition style when presenting the WebView. The default value is IOSUIModalTransitionStyle.COVER_VERTICAL.
read / write

Methods

copy() IOSSafariOptions
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

fromMap(Map<String, dynamic> map) IOSSafariOptions
override