Created add link form

This commit is contained in:
Juan Gilsanz Polo
2024-02-23 15:45:06 +01:00
parent f1e5e3ec71
commit 6aa6acfbfd
13 changed files with 713 additions and 7 deletions

View File

@@ -0,0 +1,29 @@
import 'package:expandable/expandable.dart';
import 'package:flutter/material.dart';
import 'package:linkdy/constants/enums.dart';
import 'package:linkdy/models/data/check_bookmark.dart';
class AddLinkModel {
final TextEditingController urlController;
String? urlError;
CheckBookmark? checkBookmark;
LoadStatus? checkBookmarkLoadStatus;
final TextEditingController titleController;
final TextEditingController descriptionController;
bool markAsUnread;
final TextEditingController notesController;
final ExpandableController expandableController;
AddLinkModel({
required this.urlController,
this.urlError,
this.checkBookmark,
this.checkBookmarkLoadStatus,
required this.titleController,
required this.descriptionController,
this.markAsUnread = false,
required this.notesController,
required this.expandableController,
});
}