altafc22 / csc_picker

A flutter package to display a country, states, and cities. In addition it gives the possibility to select a list of countries, States and Cities depends on Selected, also you can search country, state, and city all around the world.
BSD 3-Clause "New" or "Revised" License
27 stars 118 forks source link

Design Changes as per following: #85

Open shutterscripter opened 6 months ago

shutterscripter commented 6 months ago
  1. Decoration added for search box dialog

I'm using this package while doing my internship. There is this problem occurring when I try to implement CSC Picker, problem is as follow:

  1. The background color of the search box dialog is getting change as the theme I described in main.dart
  2. I'm not able to change the background color of Search box dialog after it is changed automatically by implementing theme.

SOLUTION: First solution was to write my own package for this but it is difficult task I choose to modify code and did my job.

Code changes: ClipRRect is replaced with the Container with the customizable decoration parameter (searchDialogDecoration).

Before-After