feat(diets) Diets create and edit API connect, TextController management and redirect

This commit is contained in:
2024-05-13 16:21:23 +03:00
parent 1ad58f8f42
commit e7e48905cf
19 changed files with 978 additions and 5 deletions

View File

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