anchor.diff:      );
     }
   
  -  Widget _buildLoadingIndicator() {
  -    return Padding(
  -    padding: EdgeInsets.only(top: 10.0),
  -    child: Row(
  -      mainAxisAlignment: MainAxisAlignment.center,
  -      children: <Widget>[
  -        CircularProgressIndicator(),
  -      ],
  -    ));
  -  }
   
     Widget _buildErrorText() {
       return Row(
  
positive.code: class NotificationsListView extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
     return RefreshIndicator(
        child: buildListView(context),
        onRefresh: () => Provider.of<MessagesDataProvider>(context, listen: false)
            .fetchMessages(true),
  
negative.code:     if (Provider.of<MessagesDataProvider>(context).messages.length == 0) {
        if (Provider.of<MessagesDataProvider>(context).error == null) {
          if (Provider.of<MessagesDataProvider>(context).isLoading) {
            // empty notifications view until they load in
          } else {
            return ListView.separated(
              physics: AlwaysScrollableScrollPhysics(),
              itemBuilder: (BuildContext context, int index) =>
                  _buildNoMessagesText(),
              controller:
              Provider.of<MessagesDataProvider>(context).scrollController,
              itemCount: 1,
              separatorBuilder: (BuildContext context, int index) => Divider(),
            );
  