How to show different earnings using choice chips

Custom Code

I have collection of "history" where "price" and "date" will be there to help me to calculate earnings.

I am using choice chips : There are 4 Choice chips --> Total, Year, Month, Today

I want that whenever user click on total then he must see total earning and so on.

How can I achieve this ? Can anybody give me steps to achieve this ?

What have you tried so far?

.

Did you check FlutterFlow's Documentation for this topic?
No
1 reply