refactor: normalize location display by stripping state prefixes from cities and uppercasing state codes

This commit is contained in:
pradeepkumar
2026-04-20 09:36:55 +05:30
parent c006c141f7
commit 7cacc19c8e
3 changed files with 79 additions and 29 deletions

View File

@@ -160,13 +160,13 @@ class _AgentFilterSheetState extends State<AgentFilterSheet> {
top: false,
child: Row(
children: [
// Clear All
// Clear All — reset selections but keep the sheet open
// so the user sees the cleared state and can continue.
Expanded(
child: GestureDetector(
onTap: () {
_clearAll();
widget.onClearAll();
Navigator.of(context).pop();
},
child: Container(
height: 29,