From 97e6763993fd720dffcaa75f1cf46b485505f1d4 Mon Sep 17 00:00:00 2001 From: guoyuhua Date: Wed, 10 Apr 2024 21:18:10 +0800 Subject: [PATCH] add_default_when_not_found_platform --- lib/src/widget/app_bar.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/src/widget/app_bar.dart b/lib/src/widget/app_bar.dart index 75768744..5cb22cf5 100644 --- a/lib/src/widget/app_bar.dart +++ b/lib/src/widget/app_bar.dart @@ -114,6 +114,8 @@ class NeumorphicAppBar extends StatefulWidget implements PreferredSizeWidget { case TargetPlatform.iOS: case TargetPlatform.macOS: return actions == null || actions!.length < 2; + default: + return false; } } }