toMaxCrossAxisExtentType function
Implementation
MaxCrossAxisExtentType toMaxCrossAxisExtentType(int? index) {
switch (index) {
case 0:
return MaxCrossAxisExtentType.absolute;
case 1:
return MaxCrossAxisExtentType.relative;
}
return MaxCrossAxisExtentType.unknown;
}