Enhance role selection dropdown styling in organization settings dialog

This commit is contained in:
Leon Bösche
2026-01-24 05:49:05 +01:00
parent b3d1e40130
commit 692e7767f3

View File

@@ -552,7 +552,12 @@ class _OrganizationSettingsDialogState
), ),
), ),
const SizedBox(height: 16), const SizedBox(height: 16),
DropdownButtonFormField<String>( Theme(
data: Theme.of(context).copyWith(
splashFactory: NoSplash.splashFactory,
buttonTheme: ButtonThemeData(splashColor: Colors.transparent),
),
child: DropdownButtonFormField<String>(
initialValue: selectedRole, initialValue: selectedRole,
items: ['admin', 'member'].map((role) { items: ['admin', 'member'].map((role) {
return DropdownMenuItem(value: role, child: Text(role)); return DropdownMenuItem(value: role, child: Text(role));
@@ -576,6 +581,7 @@ class _OrganizationSettingsDialogState
), ),
), ),
), ),
),
const SizedBox(height: 16), const SizedBox(height: 16),
SizedBox( SizedBox(
width: 240, width: 240,