Questions tagged [flutter-isar]
43 questions
1
vote
0 answers
Isar does not persist data
Isar does not persist state, every time I close my mobile application and open it again, previous values are not there, when they should be there. I'm fetching those values from Isar.
Please show with a counter app example how this works.
I'm…

AbdulHaseeeb
- 33
- 6
1
vote
1 answer
isar communicates with inspect.isar.dev by default
If you write a flutter app and use the isar storage engine, the running app emits something like this:
flutter: ╔════════════════════════════════════════════════════╗
flutter: ║ ISAR CONNECT STARTED ║
flutter:…

SteAp
- 11,853
- 10
- 53
- 88
1
vote
0 answers
Isar Database - Access denied by Windows. Cannot open file, path = '\isar.dll'
I am trying to run CRUD tests in Flutter application. The local database that I am using is Isar database. It seems that application does not have rights to use Isar in Windows.
However, example test runs smoothly with MacOS.
Does anyone have had a…

snackster
- 11
- 1
1
vote
3 answers
How to make a few collections of the same type in Isar db? [Flutter] [Isar]
Is there an option to make more than one collection with objects of the same type in Isar?
Isar doc: https://isar.dev/
how i create single Collection:
import 'package:isar/isar.dart';
@Collection()
class ProgramModel {
@Id()
int? id;
String?…

Szynkie
- 59
- 3
0
votes
0 answers
Flutter FutureBuilder with Isar DB not refreshing
I have a simple app that lists a bunch of items that are saved in Isar DB:
@override
Widget build(BuildContext context) {
var body = Column(
children: [
const SizedBox(height: 2.0),
Expanded(
child:…

Ufder
- 527
- 4
- 20
0
votes
0 answers
How to define subclasses in flutter Isar database?
I want to annotate my class that I wrote below to save in isar, but I don't know how...?
class AppState {
AppTimerState? appTimerState;
TimedTaskIsarLog? appTimedTaskState;
WorkIsarLog? appWorkState;
AppState({
…

jessi cas
- 21
- 2
0
votes
0 answers
Flutter Isar error: "Instance has no id and can therefore not be linked"
In my Flutter project, I use Isar for my local database (version 3.1.0+1).
In my app, I have groups and tags, with a 1-n relationship (one group can have zero, one or multiple tags).
I want to add a group with its tags in a single transaction, so…

matteoh
- 2,810
- 2
- 29
- 54
0
votes
2 answers
How to query a List in ISAR Flutter
I'm new to flutter and Isar. I have the following class
@collection
class RootWord {
Id id = Isar.autoIncrement;
@Index()
late int subCategoryId;
late String name;
late List wordList;
late bool hide;
}
I have a collection of…

Yogi Wannabe
- 141
- 7
0
votes
1 answer
how to load a flutter app with existing isar db data?
what I am trying to do:
I want that my flutter app comes with a predefined data set which is stored in isar.
I am already able to modify my isar db via app inputs. But I want that the app itself already contains a filled isar file.
My problem:
How…

CodeEnjoyer
- 27
- 4
0
votes
1 answer
I have a problem with my Flutter application, when calling the Isar database
I have a problem with my Flutter application, when calling the Isar database.
I have the data structure in one page, the functions in another, and the instruction in my main.dart page to create two users if they don't exist, but I don't know how to…

Willy Carrillo
- 1
- 1
0
votes
1 answer
Stop rebuilding when using FutureProviderFamily
I have a Flutter app which uses FutureProviderFamily to fetch List of items from an Isar database.
final FutureProviderFamily
- , Card> searchCardProvider =
FutureProvider.family(
(FutureProviderRef
- > ref, Card card) async {
…

Charitha De Silva
- 23
- 11
0
votes
0 answers
"Error isar_flutter_libs: ^3.0.5", how to fix this issue?
I have embeded flutter in my iOS app using add to app method.
I have added isar library which is causing iOS pipeline to fail in fast lane step.
iOS build pipeline is failing with below error:
error :
ld: could not reparse object file in bitcode…

hrishikesh rajwade
- 111
- 6
0
votes
1 answer
Flutter Isar stops working after hot restart
I started learning flutter isar yesterday and I couldn't love it more. I created a demo app with it and for some reason, it is not working as expected.
The app has two sections: Original(This contain the dummyData) and the Database(this contains…

thebigbrownBox
- 41
- 6
0
votes
2 answers
Isar DB based flutter app fails to build on android device/emulator
Dart SDK
environment:
sdk: '>=2.19.1 <3.0.0'
Isar version
isar: ^3.0.5
isar_flutter_libs: ^3.0.5
Terminal output
Launching lib\main.dart on sdk gphone x86 in debug mode...
lib\main.dart:1
FAILURE: Build failed with an exception.
What went…

Mohamed Mustafa
- 1
- 1
0
votes
1 answer
what is the isar databse file extension?
I use sqflite in flutter because i am able to find the databse file and save it for many use later.
But when i started to use isar db i could not find the db file at all.
I tried path and path provider to find the directory like this
final directory…

gfares
- 11
- 5