Dropdownbutton style changed

main
Arlind 2023-06-16 05:29:07 +02:00
parent 4e217d210c
commit 5582e7b4fa
1 changed files with 8 additions and 0 deletions

View File

@ -164,6 +164,10 @@ class SettingsState extends State<Settings> {
child: ListTile( child: ListTile(
title: Text('language'.tr()), title: Text('language'.tr()),
trailing: DropdownButton<String>( trailing: DropdownButton<String>(
icon: const Icon(Icons.expand_more),
underline: const SizedBox(),
iconSize: 20,
borderRadius: BorderRadius.circular(15),
value: _selectedLanguage, value: _selectedLanguage,
onChanged: (String? newValue) { onChanged: (String? newValue) {
setState(() { setState(() {
@ -199,6 +203,10 @@ class SettingsState extends State<Settings> {
child: ListTile( child: ListTile(
title: Text('currency'.tr()), title: Text('currency'.tr()),
trailing: DropdownButton<String>( trailing: DropdownButton<String>(
borderRadius: BorderRadius.circular(15),
underline: const SizedBox(),
iconSize: 20,
icon: const Icon(Icons.expand_more),
value: _selectedCurrency, value: _selectedCurrency,
onChanged: (String? newValue) { onChanged: (String? newValue) {
setState(() { setState(() {