value property

String get value

The CSS value representing the popover position.

Implementation

String get value => switch (this) {
  PopoverPosition.top => 'top',
  PopoverPosition.bottom => 'bottom',
  PopoverPosition.left => 'left',
  PopoverPosition.right => 'right',
  PopoverPosition.topLeft => 'top-left',
  PopoverPosition.topRight => 'top-right',
  PopoverPosition.bottomLeft => 'bottom-left',
  PopoverPosition.bottomRight => 'bottom-right',
};