import 'package:get/get.dart';

class DetailNewsController extends GetxController{
  var title = ''.obs;

  var list = [
    listNew(image: 'assets/images/img_Splat.png', content:'Locker to leave hospital on thursdaywwwwwwwwwwwddddddddddddddddd', category: 'Baskistball', time:'14 house ago',title:'Top Stories'),
    listNew(image: 'assets/images/img_Splat.png', content:'Locker to leave hospital on thursdaywwwwwwwww', category: 'Football', time:'14 house ago',title:'MotorsportNews1'),
    listNew(image: 'assets/images/img_Splat.png', content:'Locker to leave hospital on thursdaywwwwwwwwwwwddddddddddd', category: 'Football', time:'1 house ago',title:'MotorsportNews2'),
    listNew(image: 'assets/images/img_Splat.png', content:'Locker to leave hospital on thursdaywwwddddddddddddd', category: 'Baskistball', time:'12 house ago',title:'MotorsportNews3'),
    listNew(image: 'assets/images/img_Splat.png', content:'Locker to leave hospital on thursdaywwwwwwwwddddddd', category: 'Baskistball', time:'11 house ago',title:'MotorsportNews4'),
  ];


}

class listNew{
  String ? image;
  String ? title;
  String ? category;
  String ? time;
  String? content;

  listNew({ required this.image, required this.title, required this.category, required this.time, required this.content});
}