You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
522 B

4 years ago
// Flutter imports:
import 'package:flutter/material.dart';
4 years ago
// Project imports:
import 'package:aku_community_manager/mock_models/anouncement/anouncement_model.dart';
4 years ago
class AnouncementProvider extends ChangeNotifier {
List<AnouncementCardModel> _anouncementCardModel =
AnouncementCardModel.initList();
List<AnouncementCardModel> get anouncementCardModels => _anouncementCardModel;
addAnouncementCardModel(AnouncementCardModel model) {
_anouncementCardModel.insert(0, model);
notifyListeners();
}
}