database – How to filter Hive data in flutter by data values?

In Flutter, I using ValueListenableBuilder widget to get list of hive data.
and I and trying to filter my data by data values,

name(value) : mydata1
des(value) : mydescription1
value(value) : 1

here in this example I want to filter data by data value called “value(value)” by help of dropdown


if (value.compareTo(1) == 1){
 print('All First Value Data Showing Result');

Something like that, help me. (ValueListenableBuilder mycode Image)

Thank you.