<commit_before>import 'package:campus_mobile_experimental/core/services/authentication_service.dart';
import 'package:campus_mobile_experimental/core/services/availability_service.dart';
import 'package:campus_mobile_experimental/core/services/bottom_navigation_bar_service.dart';
import 'package:campus_mobile_experimental/core/services/dining_service.dart';
import 'package:campus_mobile_experimental/core/services/event_service.dart';
import 'package:campus_mobile_experimental/core/services/location_service.dart';
import 'package:campus_mobile_experimental/core/models/coordinates_model.dart';
import 'package:campus_mobile_experimental/ui/widgets/navigation/app_bar.dart';
import 'package:campus_mobile_experimental/core/services/parking_service.dart';
import 'package:provider/provider.dart';

List<SingleChildCloneableWidget> providers = [
  ChangeNotifierProvider<BottomNavigationBarProvider>(
    builder: (_) => BottomNavigationBarProvider(),
  ),
  ChangeNotifierProvider<AvailabilityService>(
    builder: (_) => AvailabilityService(),
  ),
  ChangeNotifierProvider<EventsService>(
    builder: (_) => EventsService(),
  ),
  StreamProvider<Coordinates>(
    builder: (_) => LocationService().locationStream,
  ),
  ChangeNotifierProvider<CustomAppBar>(
    builder: (_) => CustomAppBar(),
  ),
  ChangeNotifierProvider<DiningService>(
    builder: (_) => DiningService(),
  ),
  ChangeNotifierProvider<ParkingService>(
    builder: (_) => ParkingService(),
  ),
  ChangeNotifierProvider<AuthenticationService>(
    builder: (_) => AuthenticationService(),
  ),
];<commit_msg>update provider to use proxy provider setup<commit_after>import 'package:campus_mobile_experimental/core/data_providers/parking_data_provider.dart';
import 'package:campus_mobile_experimental/core/data_providers/user_data_provider.dart';
import 'package:campus_mobile_experimental/core/services/availability_service.dart';
import 'package:campus_mobile_experimental/core/services/bottom_navigation_bar_service.dart';
import 'package:campus_mobile_experimental/core/services/dining_service.dart';
import 'package:campus_mobile_experimental/core/services/event_service.dart';
import 'package:campus_mobile_experimental/core/services/location_service.dart';
import 'package:campus_mobile_experimental/core/models/coordinates_model.dart';
import 'package:campus_mobile_experimental/ui/widgets/navigation/app_bar.dart';
import 'package:provider/provider.dart';

List<SingleChildCloneableWidget> providers = [
  ...independentServices,
  ...dependentServices,
  ...uiConsumableProviders,
];
List<SingleChildCloneableWidget> independentServices = [
  ChangeNotifierProvider<UserDataProvider>(
    builder: (_) => UserDataProvider(),
  ),
  ChangeNotifierProvider<BottomNavigationBarProvider>(
    builder: (_) => BottomNavigationBarProvider(),
  ),
  ChangeNotifierProvider<EventsService>(
    builder: (_) => EventsService(),
  ),
  StreamProvider<Coordinates>(
    builder: (_) => LocationService().locationStream,
  ),
  ChangeNotifierProvider<CustomAppBar>(
    builder: (_) => CustomAppBar(),
  ),
];
List<SingleChildCloneableWidget> dependentServices = [
  ChangeNotifierProvider<DiningService>(
    builder: (_) => DiningService(),
  ),
  ChangeNotifierProxyProvider<UserDataProvider, ParkingDataProvider>(
    initialBuilder: (_) {
      var parkingDataProvider = ParkingDataProvider();
      parkingDataProvider.fetchParkingLots();
      return parkingDataProvider;
    },
    builder: (_, userDataProvider, parkingDataProvider) =>
        parkingDataProvider..userDataProvider = userDataProvider,
  ),
  ChangeNotifierProvider<AvailabilityService>(
    builder: (_) => AvailabilityService(),
  ),
];
List<SingleChildCloneableWidget> uiConsumableProviders = [];
{'fraction_non_alphanumeric': 0.11593816631130063, 'fraction_numerical': 0.0, 'mean_word_length': 7.414798206278027, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 40, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4002698', 'n_tokens_mistral': 1075, 'n_tokens_neox': 1054, 'n_words': 118}