calcPadding property
EdgeInsets
get
calcPadding
padding - dropdown border width
Implementation
EdgeInsets get calcPadding => animationType == DropdownAnimationType.size
? EdgeInsets.only(
top: borderSide.width * 0.5 + padding.top,
bottom: borderSide.width * 0.5 + padding.bottom,
left: borderSide.width * 0.5 + padding.left,
right: borderSide.width * 0.5 + padding.right,
)
: EdgeInsets.zero;