b012_data
Spring Boot-inspired Flutter package with auto-generated SQLite CRUD for your entities, plus binary file helpers (images, audio, video). Android, iOS, Linux, macOS, Windows.
2.0.3
birane012/b012_data
What this package is like to depend on
Last release 4 months ago
19 Apr 2026
Ships unpredictably
gaps range from 2 weeks to 3.1 years
Some releases are documented
notes for 5 of 13 stable releases
6 versions withdrawn
withdrawn after publishing
4 years old
19 releases · first in 2022
4 releases in the last 12 months
see the full history below
Release timeline
19 releases · May 2022 to Apr 2026Releases
latest 19-
2.0.319 Apr 2026Release notes
Open source →- Added the
static_and_variables.dartfile with a base64 image used for illustration indisc_example.dart. - Provided a more explicit use case of the method
getEntityFileOnDiscindisc_example.dart. - Rearranged
examplefor clearer use. - Rewrite
README.mdfile. - Rename the getSommeColumnsFrom method to getSomeColumnsFrom.
- Added the
-
2.0.218 Apr 2026Release notes
Open source →- Documented the Spring Boot inspiration and the automatic CRUD generation
at the top of
README.md, so the core value proposition is visible at first glance. - Rewrote the
pubspec.yamldescription to surface the package when developers search pub.dev for Spring Boot, SQLite CRUD or binary file manipulation (images, audio, video). - Split the example into two self-contained, runnable files with their
own
main:example/sqlite_example.dart(SQLite CRUD walk-through around thePersonentity) andexample/disc_example.dart(binary file / file system walk-through around theImagesentity).example/main.dartnow orchestrates both demos in sequence and theREADME.mddocuments how to run each one in isolation. - Aligned the
Personentity with the numberedRequired/Optionalsteps used in theREADME.md, so both sources tell the exact same story. - Fixed the
Installationsection ofREADME.md, which still pointed at an older version constraint.
- Documented the Spring Boot inspiration and the automatic CRUD generation
at the top of
-
2.0.118 Apr 2026 withdrawnRelease notes
Open source →- Broadened SDK constraint to
>=2.12.0 <4.0.0(Flutter>=2.0.0) so the package installs on older null-safe Flutter projects. - Loosened dependency ranges on
sqflite,sqflite_common_ffiandpath_providerto>=2.0.0 <3.0.0. - Added an explicit
import 'package:sqflite/sqflite.dart';so the package still resolvesDatabase,DatabaseFactoryanddatabaseFactorywhen the lowest allowedsqflite_common_ffiis selected (fixes pub.dev "dependency constraint lower bounds" downgrade analysis). - Replaced
Enum.name(Dart 2.15+) withtoString().split('.').lastso the library runs on Dart 2.12.
- Broadened SDK constraint to
-
2.0.018 Apr 2026 withdrawnRelease notes
Open source →Major maintenance release. The public API is kept backwards-compatible with 1.x — no method renames. Update your
pubspec.yamland you're done.Requirements
- Minimum SDK Dart
>=3.4.0and Flutter>=3.22.0(lowered in 2.0.1).
Fixes
changeDBwas using the nativesqflitebackend on Windows instead of the FFI backend; the platform detection is now consistent with the rest of the library.changeDBno longer crashes when the database has never been opened.- Linux now correctly uses the FFI backend (previously only Windows did).
getEntityColumnsName<T>was always returning an empty list because a shadowed local variable prevented the result from escaping the transaction.validatePathnow strips a single trailing separator instead of chopping off two characters.deleteFilenow returnstruewhen the file did not exist andfalseon failure, instead of always returning the post-deletion existence state.getImageFromDiscno longer throws when the image file cannot be read.countElementsOftoleratesNULLresults from SQLite and returns0instead of throwing.- Sanitization of WHERE clauses no longer matches identifiers that start
with
true/false(\btrue\b/\bfalse\bword boundaries). cleanAllTablesDatanow skipssqlite_masterand internal tables.
Improvements
- Dependencies updated to their latest stable versions:
sqflite: ^2.4.2sqflite_common_ffi: ^2.4.0path_provider: ^2.1.5flutter_lints: ^6.0.0
- Package documentation rewritten in clearer English, with consistent examples.
- Stricter analyzer configuration (
strict-casts,strict-inference,strict-raw-types, several extra lint rules). - Uses
Random.secure()fornewKey. - Internal code cleanup (removed dead commented code, tightened types where the public signature is not affected).
- Minimum SDK Dart
-
1.0.208 Mar 2023Release notes
Open source →- This version supports ANDROID, IOS, LINUX, MACOS and WINDOWS but pub.dev
- shows only ANDROID, IOS, MACOS as compatible platforms.
- This is fixed in this version.
-
1.0.104 Mar 2023 withdrawnRelease notes
Open source →- Previous versions of the package supported only ANDROID, IOS and MACOS.
- This version supports ANDROID, IOS, LINUX, MACOS and WINDOWS.
-
1.0.1+104 Mar 2023 withdrawnRelease notes
Open source →- This version supports ANDROID, IOS, LINUX, MACOS and WINDOWS but pub.dev
- shows only ANDROID, IOS, MACOS as compatible platforms.
-
1.0.1+204 Mar 2023Release notes
Open source →- This version supports ANDROID, IOS, LINUX, MACOS and WINDOWS but pub.dev
- shows only ANDROID, IOS, MACOS as compatible platforms.
-
1.0.020 Feb 2023 -
0.0.1030 Jan 2023Nothing published for this version
-
0.0.919 Dec 2022Nothing published for this version
-
0.0.819 Dec 2022Nothing published for this version
-
0.0.729 Oct 2022Nothing published for this version
-
0.0.629 Oct 2022Nothing published for this version
-
0.0.525 Jul 2022Nothing published for this version
-
0.0.425 Jul 2022Nothing published for this version
-
0.0.314 May 2022Nothing published for this version
-
0.0.212 May 2022 withdrawnNothing published for this version
-
0.0.112 May 2022 withdrawnRelease notes
Open source →- Initial release — SQLite persistence and file system helpers for Flutter.
DataAccess.instanceprovides entity persistence in a SQLite database.DiscData.instanceprovides file system persistence.- See the bundled example for usage.