calcArrowAlignmentDx property
double
get
calcArrowAlignmentDx
Implementation
double get calcArrowAlignmentDx {
switch (dropdownTriangleOptions.align) {
case DropdownTriangleAlign.left:
if (_isTriangleDown) {
return _arrowLeftCenterDx(dropdownOptions.borderRadius.topLeft.x);
} else {
return _arrowLeftCenterDx(dropdownOptions.borderRadius.bottomLeft.x);
}
case DropdownTriangleAlign.right:
if (_isTriangleDown) {
return _arrowRightCenterDx(dropdownOptions.borderRadius.topRight.x);
} else {
return _arrowRightCenterDx(
dropdownOptions.borderRadius.bottomRight.x);
}
case DropdownTriangleAlign.center:
return 0;
}
}