-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: filter while selecting countries #1200 #1728
fix: filter while selecting countries #1200 #1728
Conversation
searchable-country-selector
Codecov Report
@@ Coverage Diff @@
## develop #1728 +/- ##
==========================================
- Coverage 8.86% 8.27% -0.59%
==========================================
Files 161 165 +4
Lines 6623 7143 +520
==========================================
+ Hits 587 591 +4
- Misses 6036 6552 +516
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heyyy, looks really good @AshAman999, I added some minor comments, please have a look at them
return StatefulBuilder( | ||
builder: (BuildContext context, | ||
void Function(VoidCallback fn) setState) { | ||
return AlertDialog( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about using our SmoothAlertDialog
title: const Text('Choose your country'), | ||
// TODO(aman): translations | ||
content: SizedBox( | ||
width: 300, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A responsive width would be good
width: 300, | ||
child: Column( | ||
children: <Widget>[ | ||
TextField( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you could use our SmoothTextFormField
(don't know if spelled corectly) here, then we can keep design changes continuous. But if for some reason it doesn't work out you can leave it like this
Navigator.of(context).pop(); | ||
}, | ||
); | ||
}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a comma here
@M123-dev , did the changes as requested, looks like this for now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks @AshAman999
What
Screenshot
Before
After
VID_20220501171417.mp4
Fixes bug(s)
Part of