remove padding

This commit is contained in:
2024-07-30 11:06:42 +02:00
parent 39e8c6df2d
commit 46ee99d903

View File

@@ -98,9 +98,7 @@ class _MyDropdownFieldState extends State<MyDropdownField> {
// bool makeEditable() { // bool makeEditable() {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Padding( return DropdownMenu(
padding: const EdgeInsets.symmetric(horizontal: 25.0),
child: DropdownMenu(
enabled: widget.editable, enabled: widget.editable,
trailingIcon: Icon( trailingIcon: Icon(
Icons.arrow_drop_down, Icons.arrow_drop_down,
@@ -192,7 +190,6 @@ class _MyDropdownFieldState extends State<MyDropdownField> {
// DropdownMenuEntry(value: "Dr.", label: "Dr."), // DropdownMenuEntry(value: "Dr.", label: "Dr."),
// DropdownMenuEntry(value: "Assistant", label: "Assistant"), // DropdownMenuEntry(value: "Assistant", label: "Assistant"),
// ], // ],
),
); );
} }
} }