alignmentDark property

Alignment get alignmentDark

Gets the alignment for the dark end of the gradient.

Implementation

Alignment get alignmentDark {
  switch (this) {
    case AntiFlickerDirection.top:
      return Alignment.topCenter;
    case AntiFlickerDirection.bottom:
      return Alignment.bottomCenter;
    case AntiFlickerDirection.left:
      return Alignment.centerLeft;
    case AntiFlickerDirection.right:
      return Alignment.centerRight;
  }
}