File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -465,9 +465,7 @@ class _MultiSelectFieldState<T> extends State<MultiSelectField<T>>
465
465
return SizedBox (
466
466
width: widget.menuWidthBaseOnContent
467
467
? null
468
- : widget.selectAllOption
469
- ? (size.maxWidth - 10 )
470
- : size.maxWidth,
468
+ : size.maxWidth,
471
469
child: MenuItemButton (
472
470
closeOnActivate:
473
471
widget.singleSelection || widget.data ().length == 1 ,
@@ -553,10 +551,6 @@ class _MultiSelectFieldState<T> extends State<MultiSelectField<T>>
553
551
MenuStyle (
554
552
elevation: const WidgetStatePropertyAll <double >(5 ),
555
553
visualDensity: VisualDensity .adaptivePlatformDensity,
556
- padding: widget.selectAllOption
557
- ? WidgetStatePropertyAll <EdgeInsets >(
558
- EdgeInsets .only (left: 10 ))
559
- : null ,
560
554
maximumSize: widget.menuWidthBaseOnContent &&
561
555
widget.menuHeightBaseOnContent
562
556
? null
You can’t perform that action at this time.
0 commit comments