justifyContent property
FlexJustify
get
justifyContent
Implementation
FlexJustify get justifyContent => _justifyContent;
set
justifyContent
(FlexJustify value)
Implementation
set justifyContent(FlexJustify value) {
_justifyContent = value;
var order = value.index;
switch (order) {
case 0:
{
//FLEX_START
order = 1;
break;
}
case 1:
{
//CENTER;
order = 2;
break;
}
case 2:
{
//FLEX_END;
order = 3;
break;
}
case 3:
{
//SPACE_BETWEEN;
order = 6;
break;
}
case 4:
{
//SPACE_AROUND;
order = 7;
break;
}
case 5:
{
//SPACE_EVENLY;
order = 8;
break;
}
default:
{
order = 1; //default FLEX_START
break;
}
}
}