code formatting

This commit is contained in:
Lorenzo Pichilli 2021-03-06 16:13:05 +01:00
parent 237ba6efb4
commit 98d705b9e6
1 changed files with 4 additions and 2 deletions

View File

@ -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) {