This list is inside a provider:
List<DailyData> _storeDataByDate = [];
List<DailyData> _reversedstoreDataByDate = _storeDataByDate.reversed.toList();
But the bottom line is marked and shows the message: The instance member '_storeDataByDate' can't be accessed in an initializer. Try replacing the reference to the instance member with a different expression.