Bot releases are hidden (Show)
moveAlongWithKeyboard
: An optionalargument can be used to move bottomSheet along with keyboard when textfield is focused. It could be useful when bottomSheet height is smaller than half of the screen. Otherwise it shouldn't be set. It has a default value of false.
showCountryPicker(
context: context,
moveAlongWithKeyboard: true,
countryListTheme: CountryListThemeData(
bottomSheetHeight: 500,
),
onSelect: (Country country) => print('Select country: ${country.displayName}'),
);
Published by Daniel-Ioannou 8 months ago
Published by Daniel-Ioannou 9 months ago
showCountryPicker(
context: context,
countryListTheme: CountryListThemeData(
bottomSheetWidth: 500, // Optional. Country list modal Width
),
onSelect: (Country country) => print('Select country: ${country.displayName}'),
);
emojiFontFamilyFallback
Published by Daniel-Ioannou 11 months ago
CustomFlagBuilder
useRootNavigator
Published by Daniel-Ioannou 12 months ago
Published by Daniel-Ioannou about 1 year ago
Published by Daniel-Ioannou over 1 year ago
Published by Daniel-Ioannou almost 2 years ago
parsePhoneCode
and tryParsePhoneCode
Published by Daniel-Ioannou almost 2 years ago
Published by Daniel-Ioannou almost 2 years ago
showCountryPicker(
context: context,
showSearch: false,
onSelect: (Country country) => print('Select country: ${country.displayName}'),
);
searchTextStyle
showCountryPicker(
context: context,
countryListTheme: CountryListThemeData(
searchTextStyle: TextStyle( // Optional. Styles the text in the search field
color: Colors.blue,
fontSize: 18,
),
),
onSelect: (Country country) => print('Select country: ${country.displayName}'),
);
worldwide.png
and changed to '🌍' emojiPublished by Daniel-Ioannou about 2 years ago
Published by Daniel-Ioannou over 2 years ago
favorite
option.
showCountryPicker(
context: context,
favorite: <String>['SE', 'MC'],
onSelect: (Country country) {
print('Select country: ${country.displayName}');
},
);
Published by Daniel-Ioannou over 2 years ago
Published by Daniel-Ioannou over 2 years ago
Country
modelshowCountryPicker(
context: context,
countryListTheme: CountryListThemeData(
bottomSheetHeight: 500, // Optional. Country list modal height
),
onSelect: (Country country) => print('Select country: ${country.displayName}'),
);
Published by Daniel-Ioannou over 2 years ago
Published by Daniel-Ioannou over 2 years ago
showCountryPicker(
context: context,
showWorldWide: true,
onSelect: (Country country) => print('Select country: ${country.displayName}'),
);
Published by Daniel-Ioannou over 2 years ago
Published by Daniel-Ioannou almost 3 years ago
Published by Daniel-Ioannou about 3 years ago
showCountryPicker(
context: context,
searchAutofocus: true,
onSelect: (Country country) => print('Select country: ${country.displayName}'),
);
Published by Daniel-Ioannou about 3 years ago