Enhance role selection dropdown styling in organization settings dialog
This commit is contained in:
@@ -552,7 +552,12 @@ class _OrganizationSettingsDialogState
|
||||
),
|
||||
),
|
||||
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,
|
||||
items: ['admin', 'member'].map((role) {
|
||||
return DropdownMenuItem(value: role, child: Text(role));
|
||||
@@ -576,6 +581,7 @@ class _OrganizationSettingsDialogState
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
SizedBox(
|
||||
width: 240,
|
||||
|
||||
Reference in New Issue
Block a user