@@ -107,124 +107,189 @@ class InAppBrowserSettings_
107
107
bool ? hidden;
108
108
109
109
///Set to `true` to hide the toolbar at the top of the WebView. The default value is `false` .
110
- @SupportedPlatforms (
111
- platforms: [AndroidPlatform (), IOSPlatform (), MacOSPlatform ()])
110
+ @SupportedPlatforms (platforms: [
111
+ AndroidPlatform (),
112
+ IOSPlatform (),
113
+ MacOSPlatform ()
114
+ ])
112
115
bool ? hideToolbarTop;
113
116
114
117
///Set the custom background color of the toolbar at the top.
115
- @SupportedPlatforms (
116
- platforms: [AndroidPlatform (), IOSPlatform (), MacOSPlatform ()])
118
+ @SupportedPlatforms (platforms: [
119
+ AndroidPlatform (),
120
+ IOSPlatform (),
121
+ MacOSPlatform ()
122
+ ])
117
123
Color_ ? toolbarTopBackgroundColor;
118
124
119
125
///Set to `true` to hide the url bar on the toolbar at the top. The default value is `false` .
120
- @SupportedPlatforms (
121
- platforms: [AndroidPlatform (), IOSPlatform (), MacOSPlatform ()])
126
+ @SupportedPlatforms (platforms: [
127
+ AndroidPlatform (),
128
+ IOSPlatform (),
129
+ MacOSPlatform ()
130
+ ])
122
131
bool ? hideUrlBar;
123
132
124
133
///Set to `true` to hide the progress bar when the WebView is loading a page. The default value is `false` .
125
- @SupportedPlatforms (
126
- platforms: [AndroidPlatform (), IOSPlatform (), MacOSPlatform ()])
134
+ @SupportedPlatforms (platforms: [
135
+ AndroidPlatform (),
136
+ IOSPlatform (),
137
+ MacOSPlatform ()
138
+ ])
127
139
bool ? hideProgressBar;
128
140
129
141
///Set to `true` to hide the default menu items. The default value is `false` .
130
- @SupportedPlatforms (
131
- platforms: [AndroidPlatform (), IOSPlatform (), MacOSPlatform ()])
142
+ @SupportedPlatforms (platforms: [
143
+ AndroidPlatform (),
144
+ IOSPlatform (),
145
+ MacOSPlatform ()
146
+ ])
132
147
bool ? hideDefaultMenuItems;
133
148
134
149
///Set to `true` if you want the title should be displayed. The default value is `false` .
135
- @SupportedPlatforms (platforms: [AndroidPlatform ()])
150
+ @SupportedPlatforms (platforms: [
151
+ AndroidPlatform ()
152
+ ])
136
153
bool ? hideTitleBar;
137
154
138
155
///Set the action bar's title.
139
- @SupportedPlatforms (
140
- platforms: [AndroidPlatform (), MacOSPlatform (), WindowsPlatform ()])
156
+ @SupportedPlatforms (platforms: [
157
+ AndroidPlatform (),
158
+ MacOSPlatform (),
159
+ WindowsPlatform ()
160
+ ])
141
161
String ? toolbarTopFixedTitle;
142
162
143
163
///Set to `false` to not close the InAppBrowser when the user click on the Android back button and the WebView cannot go back to the history. The default value is `true` .
144
- @SupportedPlatforms (platforms: [AndroidPlatform ()])
164
+ @SupportedPlatforms (platforms: [
165
+ AndroidPlatform ()
166
+ ])
145
167
bool ? closeOnCannotGoBack;
146
168
147
169
///Set to `false` to block the InAppBrowser WebView going back when the user click on the Android back button. The default value is `true` .
148
- @SupportedPlatforms (platforms: [AndroidPlatform ()])
170
+ @SupportedPlatforms (platforms: [
171
+ AndroidPlatform ()
172
+ ])
149
173
bool ? allowGoBackWithBackButton;
150
174
151
175
///Set to `true` to close the InAppBrowser when the user click on the Android back button. The default value is `false` .
152
- @SupportedPlatforms (platforms: [AndroidPlatform ()])
176
+ @SupportedPlatforms (platforms: [
177
+ AndroidPlatform ()
178
+ ])
153
179
bool ? shouldCloseOnBackButtonPressed;
154
180
155
181
///Set to `true` to set the toolbar at the top translucent. The default value is `true` .
156
- @SupportedPlatforms (platforms: [IOSPlatform ()])
182
+ @SupportedPlatforms (platforms: [
183
+ IOSPlatform ()
184
+ ])
157
185
bool ? toolbarTopTranslucent;
158
186
159
187
///Set the tint color to apply to the navigation bar background.
160
- @SupportedPlatforms (platforms: [IOSPlatform ()])
188
+ @SupportedPlatforms (platforms: [
189
+ IOSPlatform ()
190
+ ])
161
191
Color_ ? toolbarTopBarTintColor;
162
192
163
193
///Set the tint color to apply to the navigation items and bar button items.
164
- @SupportedPlatforms (platforms: [IOSPlatform ()])
194
+ @SupportedPlatforms (platforms: [
195
+ IOSPlatform ()
196
+ ])
165
197
Color_ ? toolbarTopTintColor;
166
198
167
199
///Set to `true` to hide the toolbar at the bottom of the WebView. The default value is `false` .
168
- @SupportedPlatforms (platforms: [IOSPlatform ()])
200
+ @SupportedPlatforms (platforms: [
201
+ IOSPlatform ()
202
+ ])
169
203
bool ? hideToolbarBottom;
170
204
171
205
///Set the custom background color of the toolbar at the bottom.
172
- @SupportedPlatforms (platforms: [IOSPlatform ()])
206
+ @SupportedPlatforms (platforms: [
207
+ IOSPlatform ()
208
+ ])
173
209
Color_ ? toolbarBottomBackgroundColor;
174
210
175
211
///Set the tint color to apply to the bar button items.
176
- @SupportedPlatforms (platforms: [IOSPlatform ()])
212
+ @SupportedPlatforms (platforms: [
213
+ IOSPlatform ()
214
+ ])
177
215
Color_ ? toolbarBottomTintColor;
178
216
179
217
///Set to `true` to set the toolbar at the bottom translucent. The default value is `true` .
180
- @SupportedPlatforms (platforms: [IOSPlatform ()])
218
+ @SupportedPlatforms (platforms: [
219
+ IOSPlatform ()
220
+ ])
181
221
bool ? toolbarBottomTranslucent;
182
222
183
223
///Set the custom text for the close button.
184
- @SupportedPlatforms (platforms: [IOSPlatform ()])
224
+ @SupportedPlatforms (platforms: [
225
+ IOSPlatform ()
226
+ ])
185
227
String ? closeButtonCaption;
186
228
187
229
///Set the custom color for the close button.
188
- @SupportedPlatforms (platforms: [IOSPlatform ()])
230
+ @SupportedPlatforms (platforms: [
231
+ IOSPlatform ()
232
+ ])
189
233
Color_ ? closeButtonColor;
190
234
191
235
///Set to `true` to hide the close button. The default value is `false` .
192
- @SupportedPlatforms (platforms: [IOSPlatform ()])
236
+ @SupportedPlatforms (platforms: [
237
+ IOSPlatform ()
238
+ ])
193
239
bool ? hideCloseButton;
194
240
195
241
///Set the custom color for the menu button.
196
- @SupportedPlatforms (platforms: [IOSPlatform ()])
242
+ @SupportedPlatforms (platforms: [
243
+ IOSPlatform ()
244
+ ])
197
245
Color_ ? menuButtonColor;
198
246
199
247
///Set the custom modal presentation style when presenting the WebView. The default value is [ModalPresentationStyle.FULL_SCREEN] .
200
- @SupportedPlatforms (platforms: [IOSPlatform ()])
248
+ @SupportedPlatforms (platforms: [
249
+ IOSPlatform ()
250
+ ])
201
251
ModalPresentationStyle_ ? presentationStyle;
202
252
203
253
///Set to the custom transition style when presenting the WebView. The default value is [ModalTransitionStyle.COVER_VERTICAL] .
204
- @SupportedPlatforms (platforms: [IOSPlatform ()])
254
+ @SupportedPlatforms (platforms: [
255
+ IOSPlatform ()
256
+ ])
205
257
ModalTransitionStyle_ ? transitionStyle;
206
258
207
259
///How the browser window should be added to the main window.
208
260
///The default value is [WindowType.WINDOW] .
209
- @SupportedPlatforms (platforms: [MacOSPlatform (), WindowsPlatform ()])
261
+ @SupportedPlatforms (platforms: [
262
+ MacOSPlatform (),
263
+ WindowsPlatform ()
264
+ ])
210
265
WindowType_ ? windowType;
211
266
212
267
///The window’s alpha value.
213
268
///The default value is `1.0` .
214
- @SupportedPlatforms (platforms: [MacOSPlatform (), WindowsPlatform ()])
269
+ @SupportedPlatforms (platforms: [
270
+ MacOSPlatform (),
271
+ WindowsPlatform ()
272
+ ])
215
273
double ? windowAlphaValue;
216
274
217
275
///Flags that describe the window’s current style, such as if it’s resizable or in full-screen mode.
218
- @SupportedPlatforms (platforms: [MacOSPlatform ()])
276
+ @SupportedPlatforms (platforms: [
277
+ MacOSPlatform ()
278
+ ])
219
279
WindowStyleMask_ ? windowStyleMask;
220
280
221
281
///The type of separator that the app displays between the title bar and content of a window.
222
- @SupportedPlatforms (platforms: [MacOSPlatform (available: '11.0' )])
282
+ @SupportedPlatforms (platforms: [
283
+ MacOSPlatform (available: '11.0' )
284
+ ])
223
285
WindowTitlebarSeparatorStyle_ ? windowTitlebarSeparatorStyle;
224
286
225
287
///Sets the origin and size of the window’s frame rectangle according to a given frame rectangle,
226
288
///thereby setting its position and size onscreen.
227
- @SupportedPlatforms (platforms: [MacOSPlatform (), WindowsPlatform ()])
289
+ @SupportedPlatforms (platforms: [
290
+ MacOSPlatform (),
291
+ WindowsPlatform ()
292
+ ])
228
293
InAppWebViewRect_ ? windowFrame;
229
294
230
295
InAppBrowserSettings_ (
0 commit comments