Skip to content

Commit

Permalink
code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pichillilorenzo committed Mar 6, 2021
1 parent 237ba6e commit 98d705b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/src/in_app_webview/in_app_webview.dart
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,12 @@ class _InAppWebViewState extends State<InAppWebView> {
@override
Widget build(BuildContext context) {
if (defaultTargetPlatform == TargetPlatform.android) {
var useHybridComposition = widget.initialOptions?.android.useHybridComposition ?? false;
var useHybridComposition =
widget.initialOptions?.android.useHybridComposition ?? false;

if (!useHybridComposition && widget.pullToRefreshController != null) {
throw new Exception("To use the pull-to-refresh feature, useHybridComposition Android-specific option MUST be true!");
throw new Exception(
"To use the pull-to-refresh feature, useHybridComposition Android-specific option MUST be true!");
}

if (useHybridComposition) {
Expand Down

0 comments on commit 98d705b

Please sign in to comment.