Testing/lib/config.dart
2020-06-27 18:46:23 +07:00

50 lines
1.1 KiB
Dart
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import 'package:testapp/models/category_model.dart';
class Config{
static final List<CatgoryModel> categories = [
CatgoryModel('Sport',1),
CatgoryModel('National', 5),
CatgoryModel('International', 4),
CatgoryModel('Entertainment', 5),
];
//// DataType/Class/Model
// static final List<String> news = [
// 'ABABA',
// '12345',
// 'dddd',
// ];
// static List<ArticleModel> articles = [
// ArticleModel(
// 1,
// 'assets/images/sport.png',
// 'Ronaldo scored 22 goals in Serie A against Top Scorer',
// '26th,June,2020',
//
// ),
// ArticleModel(
// 2,
// 'assets/images/inter.png',
// 'GE2020: Candidates introduced will elicit responses, ',
// '26th,June,2020',
//
// ),
// ArticleModel(
// 3,
// 'assets/images/news.png',
// 'Scientists just beginning to understand the many health problems caused by COVID-19',
// '26th,June,2020',
//
// ),
// ArticleModel(
// 4,
// 'assets/images/entertainment.png',
// 'It is clear that Rabbi has a very nice thigh, a man seen in the men,',
// '26th,June,2020',
//
// ),
// ];
}