Files
linkding-ios/lib/screens/links/model/add_link.model.dart
Juan Gilsanz Polo d689fd0eaa Improved add links
2024-02-23 22:30:39 +01:00

33 lines
914 B
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 tagsController;
String? tagsError;
List<String> tags;
final TextEditingController notesController;
AddLinkModel({
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,
});
}