Can you share the CarListPerStreetWidgetV2 widget? If this widget is a StatefulWidget
, you must update that widget in the didUpdateWidget
.
For example:
@override
void didUpdateWidget(covariant CarListPerStreetWidgetV2 oldWidget) {
super.didUpdateWidget(oldWidget);
if(oldWidget.streetName != widget.streetName) {
setState(() {});
}
}