toRulerCrossAxisAlignment method
Implementation
CrossAxisAlignment toRulerCrossAxisAlignment() {
switch (this) {
case RulerSide.start:
return CrossAxisAlignment.end;
case RulerSide.end:
return CrossAxisAlignment.start;
}
}
CrossAxisAlignment toRulerCrossAxisAlignment() {
switch (this) {
case RulerSide.start:
return CrossAxisAlignment.end;
case RulerSide.end:
return CrossAxisAlignment.start;
}
}