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

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