Renamed links to bookmarks

This commit is contained in:
Juan Gilsanz Polo
2024-02-24 01:45:57 +01:00
parent bb941f1973
commit f11b112f97
23 changed files with 252 additions and 388 deletions

View File

@@ -0,0 +1,32 @@
import 'package:flutter/material.dart';
import 'package:linkdy/constants/enums.dart';
import 'package:linkdy/models/data/check_bookmark.dart';
class AddBookmarkModel {
final TextEditingController urlController;
String? urlError;
CheckBookmark? checkBookmark;
LoadStatus? checkBookmarkLoadStatus;
final TextEditingController titleController;
final TextEditingController descriptionController;
bool markAsUnread;
final TextEditingController tagsController;
String? tagsError;
List<String> tags;
final TextEditingController notesController;
AddBookmarkModel({
required this.urlController,
this.urlError,
this.checkBookmark,
this.checkBookmarkLoadStatus,
required this.titleController,
required this.descriptionController,
this.markAsUnread = false,
required this.tagsController,
this.tagsError,
required this.tags,
required this.notesController,
});
}

View File

@@ -0,0 +1,9 @@
class BookmarksModel {
int currentPage;
int limit;
BookmarksModel({
this.currentPage = 0,
this.limit = 100,
});
}