getWrapCrossAlignment method

WrapCrossAlignment getWrapCrossAlignment(
  1. String? value
)

Implementation

WrapCrossAlignment getWrapCrossAlignment(String? value) {
  value ??= "default";
  switch (value) {
    case "center":
      return WrapCrossAlignment.center;
    case "end":
      return WrapCrossAlignment.end;
    default:
      return WrapCrossAlignment.start;
  }
}