newsData top-level property

List<Map<String, String>> newsData
getter/setter pair

Implementation

List<Map<String, String>> newsData = [
  {
    "title": "Flutter 3 Released",
    "description": "Flutter 3 comes with amazing new features and improvements."
  },
  {
    "title": "AI is Growing Fast",
    "description": "Artificial Intelligence is transforming industries worldwide."
  },
  {
    "title": "SpaceX Launch Success",
    "description": "SpaceX successfully launched its latest rocket into orbit."
  }
];