Simple implementation of PageLoader in Dart.