Skip to content

Commit 8e7da7e

Browse files
committed
Updating documentation
* Formatting and adding (Android only)
1 parent c85bd73 commit 8e7da7e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/webview_flutter/lib/webview_flutter.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,22 +393,22 @@ class WebView extends StatefulWidget {
393393
/// By default `userAgent` is null.
394394
final String userAgent;
395395

396-
/// Sets whether the WebView should support zooming using its on-screen zoom controls and gestures.
396+
/// (Android only) Sets whether the WebView should support zooming using its on-screen zoom controls and gestures.
397397
///
398398
/// The particular zoom mechanisms that should be used can be set with setBuiltInZoomControls(boolean).
399399
final bool setSupportZoom;
400400

401-
///Sets whether the WebView should use its built-in zoom mechanisms.
401+
/// (Android only) Sets whether the WebView should use its built-in zoom mechanisms.
402402
///
403403
///The built-in zoom mechanisms comprise on-screen zoom controls, which are displayed over the WebView's content, and the use of a pinch gesture to control zooming.
404404
final bool setBuiltInZoomControls;
405405

406-
///Sets whether the WebView should use its built-in zoom mechanisms.
406+
/// (Android only) Sets whether the WebView should use its built-in zoom mechanisms.
407407
///
408408
///The built-in zoom mechanisms comprise on-screen zoom controls, which are displayed over the WebView's content, and the use of a pinch gesture to control zooming.
409409
final bool setDisplayZoomControls;
410410

411-
/// Sets whether the WebView should enable support for the "viewport" HTML meta tag or should use a wide viewport.
411+
/// (Android only) Sets whether the WebView should enable support for the "viewport" HTML meta tag or should use a wide viewport.
412412
///
413413
/// When the value of the setting is false, the layout width is always set to the width of the WebView control in device-independent (CSS) pixels.
414414
///
@@ -417,7 +417,7 @@ class WebView extends StatefulWidget {
417417
/// If the page does not contain the tag or does not provide a width, then a wide viewport will be used.
418418
final bool setUseWideViewPort;
419419

420-
/// Sets whether the WebView loads pages in overview mode, that is, zooms out the content to fit on screen by width.
420+
/// (Android only) Sets whether the WebView loads pages in overview mode, that is, zooms out the content to fit on screen by width.
421421
///
422422
/// This setting is taken into account when the content width is greater than the width of the WebView control, for example, when getUseWideViewPort() is enabled.
423423
final bool setLoadWithOverviewMode;

0 commit comments

Comments
 (0)