Usage
- Add
stac_webviewas a dependency in your pubspec.yaml file.
pubspec.yaml file:
- Add
StacWebViewParserin Stac initialize.
Properties
| Property | Type | Description |
|---|---|---|
url | String | The URL to load in the WebView. |
javaScriptMode | JavaScriptMode | Sets whether JavaScript execution is enabled. Default is JavaScriptMode.unrestricted. |
backgroundColor | String | Background color of the WebView. Default is #FFFFFF. |
userAgent | String? | The user agent for the WebView. |
enableZoom | bool | Sets whether zoom is enabled for the WebView. Default is false. |
layoutDirection | TextDirection | The layout direction for the WebView. Default is TextDirection.ltr. |