33 lines
922 B
Dart
33 lines
922 B
Dart
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,
|
|
});
|
|
}
|