feat(app): Feed, recipe, blog posts, diet and plan show and index pages, state management, API implementation and layouts

This commit is contained in:
2024-05-08 14:11:18 +03:00
parent 404b22e78a
commit 76a29ebf67
45 changed files with 2759 additions and 21 deletions

View File

@@ -0,0 +1,19 @@
// ignore_for_file: must_be_immutable
import 'package:equatable/equatable.dart';
/// This class defines the variables used in the [plan_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class PlanModel extends Equatable {
final String planID;
PlanModel({required String planID}) : planID = planID;
PlanModel copyWith(String planID) {
return PlanModel(planID: planID);
}
@override
List<Object?> get props => [planID];
}