Skip to content

V2.0.18

Compare
Choose a tag to compare
@Daniel-Ioannou Daniel-Ioannou released this 16 Oct 19:23
· 51 commits to master since this release
eafb498

In this version:

  • Add more currencies:
    • Maldivian Rufiyaa
  • Add styling options for search field input decoration.
    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}');
      },
    );