79127326

Date: 2024-10-25 21:18:00
Score: 4
Natty:
Report link

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(() {});
  }
}
Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you share the
  • Low reputation (1):
Posted by: mysCod3r