{"id":32305291,"url":"https://github.com/lamun-my-id/datalocal","last_synced_at":"2026-02-23T17:25:00.676Z","repository":{"id":229779840,"uuid":"777604066","full_name":"lamun-my-id/datalocal","owner":"lamun-my-id","description":"Flutter dependency to save data via local saved with state, easy to use and fast.","archived":false,"fork":false,"pushed_at":"2026-01-27T07:31:34.000Z","size":347,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-27T20:24:20.035Z","etag":null,"topics":["database","easy-to-use","fast","flutter","localdatabase","secure"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lamun-my-id.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["yuudinwah"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2024-03-26T06:58:11.000Z","updated_at":"2026-01-27T07:31:37.000Z","dependencies_parsed_at":"2024-03-26T08:26:15.307Z","dependency_job_id":"5a8ba541-d6af-4b55-abfa-0c846728d75f","html_url":"https://github.com/lamun-my-id/datalocal","commit_stats":null,"previous_names":["lamun-my-id/data-state"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lamun-my-id/datalocal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamun-my-id%2Fdatalocal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamun-my-id%2Fdatalocal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamun-my-id%2Fdatalocal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamun-my-id%2Fdatalocal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lamun-my-id","download_url":"https://codeload.github.com/lamun-my-id/datalocal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamun-my-id%2Fdatalocal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29749022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","easy-to-use","fast","flutter","localdatabase","secure"],"created_at":"2025-10-23T06:49:10.612Z","updated_at":"2026-02-23T17:25:00.671Z","avatar_url":"https://github.com/lamun-my-id.png","language":"Dart","funding_links":["https://github.com/sponsors/yuudinwah"],"categories":[],"sub_categories":[],"readme":"# Data Local\n\nPlugin package to store data locally with storage techniques using the \"shared preferences\" plugin, this plugin already supports Android, iOS, Web, Windows, MacOS, and Linux. Data storage and data retrieval use isolates, so it can maximize the performance of flutter.\n\nIn addition, storing data in a structured manner, so it can be used to replace a local database. and there are various ways to call data, change data and delete data.\n\nYou can try it on\n[datalocal.web.app](https://datalocal.web.app).\n\n## Getting Started\n\nThe plugin itself is quite easy to use. Just call the DataLocal().create() method with the arguments. Don't forget to name the data state for example \"notes\". After that, you can do whatever you need such as inserting data, updating data, deleting data.\nThe state data will be reloaded when the app is restarted, but the data will remain there, until the app is removed or uninstalled.\n\n#### Initialize example\n```dart\nstate = await DataLocal.create(\"notes\", onRefresh: () =\u003e setState(() {}));\n```\nchange the name \"note\" with the name of the appropriate collection.\n\nonRefresh can be filled in for what will be done when there is a data change (create, update, delete).\n\n### Usage\n\nfor data usage and retrieval. Can be done using find(), this can also be done by sorting and filtering data easily. The result of data retrieval is a DataQuery containing data, the amount of data and the amount of data searched.\n\nDataItem is the data that is stored, you can retrieve data directly in the form of Map\u003cString, dynamic\u003e or you can retrieve data according to the desired field using data.get(Datakey(\"field name\")).\n```dart\nchild: FutureBuilder\u003cDataQuery\u003e(\nfuture: state.find(sorts:[DataSort(DataKey(\"#createdAt\"))]),\nbuilder: (_, snapshot){\n    if(!snapshot.hasData) return CircularProgressIndicator();\n    DataQuery query = snapshot.data;\n    List\u003cDataItem\u003e datas = query.data;\n    return Column(\n    children: List.generate(datas.length, (index){\n        DataItem data = datas[index];\n        return Text(data.get(DataKey(\"title\")));\n    },\n    );\n    )\n},\n),\n```\n## Contribution \nYou can request new features, file issues for missing features relevant to this plugin. You can also help by pointing out any bugs. Feedback is also welcome.\n\n## Status \nDataLocal will continue to be active in helping especially ourselves in project development.\n\n## Support the package (optional) \nIf you find this package useful, you can support it by giving it a star.\n\n## Credits \nThis package is developed by void\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamun-my-id%2Fdatalocal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamun-my-id%2Fdatalocal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamun-my-id%2Fdatalocal/lists"}