Commit 07dd8071 authored by Ben Hagen's avatar Ben Hagen Committed by Michael Goderbauer

Call setState() (#21642)

parent d927c933
...@@ -677,7 +677,9 @@ class InputChip extends StatelessWidget ...@@ -677,7 +677,9 @@ class InputChip extends StatelessWidget
/// label: Text('Item $index'), /// label: Text('Item $index'),
/// selected: _value == index, /// selected: _value == index,
/// onSelected: (bool selected) { /// onSelected: (bool selected) {
/// _value = selected ? index : null; /// setState(() {
/// _value = selected ? index : null;
/// });
/// }, /// },
/// ); /// );
/// }, /// },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment