history_service

Description

This library contains 3 simple functionalities that helps you manage any kind of history. (e.g. download history, search history, app logs...).

The way to use this library is creating an instance of History main class every time you want to use it and calling the methods. The functionalities will be executed in an isolated thread.

Installation

In your pubspec.yaml root add:

dependencies:
  history_service: ^1.0.0

then,

import 'package:history_service/history_service.dart';

Implementation

History history = History();
history.historyAdd('dataToStore', 'pathToTheHistoryFolder');

Methods

Method Description Arguments Return type
HistoryAdd Add entry to history String historyFolderPath, String entry void
HistoryRead Read history history using arguments as filter String historyFolderPath, String date, String entry Future<List<String>>
HistoryDelete Delete history using arguments as filter String historyFolderPath, String date, String entry void