anchor.diff: +import 'package:campus_mobile_experimental/core/data_providers/user_data_provider.dart';
   import 'package:campus_mobile_experimental/ui/cards/events/events_card.dart';
   import 'package:campus_mobile_experimental/ui/cards/news/news_card.dart';
   import 'package:campus_mobile_experimental/ui/cards/weather/weather_card.dart';
  
positive.code: import 'package:campus_mobile_experimental/ui/cards/parking/parking_card.dart';
  import 'package:campus_mobile_experimental/ui/views/special_events/banner_view_model.dart';
  import 'package:flutter/material.dart';
  
  class Home extends StatefulWidget {
    @override
  
negative.code:   @override
    Widget build(BuildContext context) {
      return ListView(
        children: createList(Provider.of<UserDataProvider>(context).cardOrder),
      );
    }
  
    List<Widget> createList(List<String> order) {
      List<Widget> orderedCards = List<Widget>();
      for (String card in order) {
        switch (card) {
          case 'special_events':
            orderedCards.add(BannerCard());
            break;
          case 'weather':
            orderedCards.add(WeatherCard());
            break;
          case 'availability':
            orderedCards.add(AvailabilityCard());
            break;
          case 'parking':
            orderedCards.add(ParkingCard());
            break;
          case 'dining':
            orderedCards.add(DiningCard());
            break;
          case 'news':
            orderedCards.add(NewsCard());
            break;
          case 'events':
            orderedCards.add(EventsCard());
            break;
          case 'links':
            orderedCards.add(LinksCard());
            break;
        }
      }
      return orderedCards;
    }
  }
  