An update thing is should use .sizeOf instead of .of(context).size to optimize performance
.sizeOf
.of(context).size