alignment property
Alignment
get
alignment
Implementation
Alignment get alignment {
if (this == MotionToastPosition.top) {
return Alignment.topCenter;
} else if (this == MotionToastPosition.bottom) {
return Alignment.bottomCenter;
} else {
return Alignment.center;
}
}