Closed Daniel-Ioannou closed 11 months ago
showCurrencyPicker( context: context, theme: CurrencyPickerThemeData( // Optional. Styles the search field. inputDecoration: InputDecoration( labelText: 'Search', hintText: 'Start typing to search', prefixIcon: const Icon(Icons.search), border: OutlineInputBorder( borderSide: BorderSide( color: const Color(0xFF8C98A8).withOpacity(0.2), ), ), ), ), onSelect: (Currency currency) { print('Select currency: ${currency.name}'); }, );
In this version: