jagan999 / dropdownfieldexample

Fully working example flutter project for dropdownfield custom widget for Flutter
13 stars 9 forks source link

setter not working #1

Open AhmedEzio47 opened 4 years ago

AhmedEzio47 commented 4 years ago

I've a simple problem the setter does not get fired. here's my usage: DropDownField( value: selectedCategory, strict: true, icon: Icon(Icons.category), items: categories, setter: (dynamic newValue) { setState(() { selectedCategory = newValue; }); } ),

jagan999 commented 4 years ago

Can you please share your entire code (masking the confidential info) so that I can look into it? I don't see anything wrong with your code.

On Sun, Dec 15, 2019 at 5:09 PM AhmedEzio47 notifications@github.com wrote:

I've a simple problem the setter does not get fired. here's my usage: DropDownField( value: selectedCategory, strict: true, icon: Icon(Icons.category), items: categories, setter: (dynamic newValue) { setState(() { selectedCategory = newValue; }); } ),

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jagan999/dropdownfieldexample/issues/1?email_source=notifications&email_token=AD7BTKSZLH2QS7GRJPJGW5LQYYJORA5CNFSM4J27VWRKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IAR2KHA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7BTKUVGFF2MACUVT4SAWLQYYJORANCNFSM4J27VWRA .