DropdownDecoration constructor
const
DropdownDecoration({})
Creates a new instance of DropdownDecoration.
backgroundColor is the background color of the dropdown. The default value is white.
elevation is the elevation of the dropdown. The default value is 1.
maxHeight is the height of the dropdown. The default value is 300.
marginTop is the margin top of the dropdown. The default value is 0.
borderRadius is the border radius of the dropdown. The default value is 12.
Implementation
const DropdownDecoration({
this.backgroundColor = Colors.white,
this.elevation = 1,
this.maxHeight = 400,
this.marginTop = 0,
this.borderRadius = const BorderRadius.all(Radius.circular(12)),
this.footer,
this.header,
});