Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // models/product.dart
- import 'package:flutter/material.dart';
- class Product {
- final String title;
- final String description;
- final double price;
- final String image;
- final bool isFavourite;
- Product(
- {required this.title,
- required this.description,
- required this.price,
- required this.image,
- this.isFavourite = false}
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement