Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:materialuibyrey/src/travel/model/travelModel.dart';
- class TravelModel {
- final int id;
- final String name;
- final String urlimage;
- final String country;
- final String rating;
- final String title;
- final String description;
- TravelModel(
- {this.id,
- this.name,
- this.urlimage,
- this.country,
- this.rating,
- this.title,
- this.description});
- }
- List<TravelModel> dummyContinent = [
- TravelModel(id: 1, name: "EUROPE", urlimage: "assets/images/europe.jpg"),
- TravelModel(id: 1, name: "AMERICA", urlimage: "assets/images/america.jpg"),
- TravelModel(id: 1, name: "ASIA", urlimage: "assets/images/asia.jpeg"),
- TravelModel(
- id: 1, name: "AUSTRALIA", urlimage: "assets/images/australia.jpg"),
- TravelModel(id: 1, name: "AFRICA", urlimage: "assets/images/africa.jpg"),
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement