Use Flutter's compute() method for intensive tasks