stop using deprecated method

This commit is contained in:
Henry Hiles 2025-01-04 12:17:45 -05:00
parent a6f2291309
commit 993d9867d2

View file

@ -15,7 +15,7 @@ Decorations decorations(Ref ref) {
(element) => element.name == button,
),
)
.whereNotNull()
.nonNulls
.toList();
final buttons = ref.watch(buttonLayoutProvider).requireValue;