diff --git a/lib/providers/decorations_provider.dart b/lib/providers/decorations_provider.dart index d4afe4b..b407484 100644 --- a/lib/providers/decorations_provider.dart +++ b/lib/providers/decorations_provider.dart @@ -15,7 +15,7 @@ Decorations decorations(Ref ref) { (element) => element.name == button, ), ) - .whereNotNull() + .nonNulls .toList(); final buttons = ref.watch(buttonLayoutProvider).requireValue;