chandrabezzo / CountryCodePicker

A flutter package for showing a country code selector.
MIT License
19 stars 70 forks source link

Country Code Picker: Web BottomSheet - Full Width Issue #35

Closed vinittailor closed 5 months ago

vinittailor commented 5 months ago

This issue outlines the problem encountered when using the country_code_picker package (version ^3.0.0) within a web bottom sheet. The code picker currently expands to fill the entire width of the screen, resulting in an undesirable visual appearance within the context of a bottom sheet.

Here's a breakdown of the issue:

Package: country_code_picker (version ^3.0.0) Platform: Web Context: Bottom Sheet Problem: The country code picker expands to occupy the full width of the screen, leading to an awkward look when used in a bottom sheet. Desired Outcome:

We would like to explore potential solutions to address the full-width behavior of the country code picker within web bottom sheets. Here are some possible avenues to investigate:

Provide Width Configuration: Offer a configuration option to specify the desired width of the country code picker when used on web.