isHorizontal property
bool
get
isHorizontal
True if current enum value is horizontal (i.e. left or right)
Implementation
bool get isHorizontal =>
this == SMenuPosition.left || this == SMenuPosition.right;