stop using deprecated method
This commit is contained in:
parent
a6f2291309
commit
993d9867d2
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Decorations decorations(Ref ref) {
|
|||
(element) => element.name == button,
|
||||
),
|
||||
)
|
||||
.whereNotNull()
|
||||
.nonNulls
|
||||
.toList();
|
||||
|
||||
final buttons = ref.watch(buttonLayoutProvider).requireValue;
|
||||
|
|
Reference in a new issue