We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 610e45c + e3084e8 commit e9daa89Copy full SHA for e9daa89
lib/widgets/dropdowns.dart
@@ -157,6 +157,7 @@ class DropdownButtonCodegenLanguage extends StatelessWidget {
157
Widget build(BuildContext context) {
158
final surfaceColor = Theme.of(context).colorScheme.surface;
159
return DropdownButton<CodegenLanguage>(
160
+ isExpanded: true,
161
focusColor: surfaceColor,
162
value: codegenLanguage,
163
icon: const Icon(
@@ -181,6 +182,8 @@ class DropdownButtonCodegenLanguage extends StatelessWidget {
181
182
child: Text(
183
value.label,
184
style: kTextStyleButton,
185
+ overflow: TextOverflow.ellipsis,
186
+ maxLines: 1,
187
),
188
189
);
0 commit comments