feat(plans) Plans create and edit API connect, TextController management and redirect

This commit is contained in:
2024-05-13 17:15:07 +03:00
parent e7e48905cf
commit fb2ebe5a70
12 changed files with 659 additions and 1 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_create_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class PlanCreateModel extends Equatable {
final String planID;
PlanCreateModel({required String planID}) : planID = planID;
PlanCreateModel copyWith(String planID) {
return PlanCreateModel(planID: planID);
}
@override
List<Object?> get props => [planID];
}