IOSSafariOptions class
This class represents all the iOS-only PlatformChromeSafariBrowser options available. Use ChromeSafariBrowserSettings instead.
- Implemented types
- Annotations
-
- @Deprecated('Use ChromeSafariBrowserSettings instead')
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 isfalse
.getter/setter pair - dismissButtonStyle ↔ IOSSafariDismissButtonStyle
-
Set the custom style for the dismiss button. The default value is IOSSafariDismissButtonStyle.DONE.
getter/setter pair
- entersReaderIfAvailable ↔ bool
-
Set to
true
if Reader mode should be entered automatically when it is available for the webpage. The default value isfalse
.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- preferredBarTintColor ↔ Color?
-
Set the custom background color of the navigation bar and the toolbar.
getter/setter pair
- preferredControlTintColor ↔ Color?
-
Set the custom color of the control buttons on the navigation bar and the toolbar.
getter/setter pair
- presentationStyle ↔ IOSUIModalPresentationStyle
-
Set the custom modal presentation style when presenting the WebView. The default value is IOSUIModalPresentationStyle.FULL_SCREEN.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transitionStyle ↔ IOSUIModalTransitionStyle
-
Set to the custom transition style when presenting the WebView. The default value is IOSUIModalTransitionStyle.COVER_VERTICAL.
getter/setter pair
Methods
-
copy(
) → IOSSafariOptions -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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