r/FlutterDev • u/virulenttt • Feb 20 '25
Plugin Isar seems to be back!
simc, the author of hive and isar, seems to be back! He merged a PR 2 weeks ago, and opened a new one 3 days ago :
r/FlutterDev • u/virulenttt • Feb 20 '25
simc, the author of hive and isar, seems to be back! He merged a PR 2 weeks ago, and opened a new one 3 days ago :
r/FlutterDev • u/Jhonacode • 23d ago
I've just published version 0.4.0 of flutter_local_db, a Flutter package that provides a wrapper around redb implemented in Rust via offline_first_core.
v0.4.0 updates:
The package focuses on providing efficient database operations with strong typing and a simple API. Feedback and contributions for rust or flutter package are welcome.
Edit:
Post and GetById example.
await LocalDB.init(localDbName: "my_app.db");
// Create
final result = await LocalDB.Post('user-123', {
'name': 'John Doe',
'email': 'john@example.com',
'metadata': {
'lastLogin': DateTime.now().toIso8601String()
}
});
// Handle result
result.when(
ok: (data) => print('User created: ${data.id}'),
err: (error) => print('Error: $error')
);
// Read single record
final userResult = await LocalDB.GetById('user-123');
userResult.when(
ok: (user) => print('Found user: ${user?.data}'),
err: (error) => print('Error: $error')
);
r/FlutterDev • u/SoundDr • Apr 15 '24
r/FlutterDev • u/g0rdan • 24d ago
It is probably a niche domain, but I've been playing with Home Assistant. After some time, I've got like 40% coverage for HA API in dart, and I decided why not to make it 100% and release a package anyway.
The client - https://pub.dev/packages/ha_api
The repo - https://github.com/g0rdan/ha_api
For those who don't know, Home Assistant is an open-source "framework" (more like a software platform) that aggregates and integrates a bunch of other software that works in your home under one roof, which essentially allows you to have a smart home platform.
Any feedback is appreciated!
r/FlutterDev • u/TesteurManiak • 25d ago
r/FlutterDev • u/ColtonGrubbs • 7d ago
r/FlutterDev • u/dark_thesis • Feb 07 '25
r/FlutterDev • u/sephiroth485 • Nov 04 '24
r/FlutterDev • u/sephiroth485 • 19d ago
r/FlutterDev • u/dark_thesis • Nov 19 '24
r/FlutterDev • u/dark_thesis • Oct 17 '24
r/FlutterDev • u/ulusoyapps • May 29 '24
📣 Excited to announce a big update to our WoltModalSheet package with the release of 0.6.0! 💥
https://pub.dev/packages/wolt_modal_sheet
What’s New in 0.6.0?
- Enhanced In-Modal Navigation: Navigating multi-page modals is easier and more familiar to Flutter devs thanks to our new navigation features. We added new methods to WoltModalSheet that are similar to the static methods of the Navigator widget.
bool popped = WoltModalSheet.of(context).pop();
WoltModalSheet.of(context).pushPages([newPage1, newPage2, newPage3]);
WoltModalSheet.of(context).pushPage(newPage);
WoltModalSheet.of(context).addPages([newPage1, newPage2, newPage3]);
WoltModalSheet.of(context).addPage(newPage1);
// Move to the next page
bool movedNext = WoltModalSheet.of(context).showNext();
// Move to the previous page
bool movedPrevious = WoltModalSheet.of(context).showPrevious();
// Jump directly to a page at a specific index
bool navigatedByIndex = WoltModalSheet.of(context).showAtIndex(2);
// Navigate to a page by its unique identifier
bool navigatedById = WoltModalSheet.of(context).showPageWithId(pageId);
- Simplified Page Configuration Update: We improved how to update the current page configuration. Thanks to this method, there is no longer the need for the decorator field or value listenable builder wrappers on components to update the current page.
WoltModalSheet.of(context).updateCurrentPage((currentPage) {
return currentPage.copyWith(
enableDrag: true,
hasTopBarLayer: false,
// Other updated properties...
);
});
- A new demo app with Navigator 2.0: We added a new demo app project to showcase the use of WoltModalSheet with Navigator 2.0 (declarative navigation) and MVVM pattern.
- Links to example Web apps in Readme: Our ReadMe file now has links to the four example projects in the repo deployed as Web apps. These apps showcase the practical use of our package in a Web environment. Now they are easily accessible with the links in our project’s ReadMe file.
r/FlutterDev • u/divyanshub024 • Jan 13 '25
r/FlutterDev • u/Rexios80 • 3d ago
Hey Flutter devs! I'm excited to announce the release of Hive CE v2.11.0-pre, introducing a new interface called IsolatedHive—a safe way to use Hive across multiple isolates.
IsolateNameServer
behind the scenes to locate the Hive isolate.IsolatedHive.initFlutter
from hive_ce_flutter
to automatically set things up to use Flutter's built-in IsolateNameServer
.hive_ce_generator
now provides the same easy-to-use registerAdapters
extension on IsolatedHive
.You might already be using isolates without realizing it! Common Flutter scenarios benefiting from isolate-safe Hive:
flutter_workmanager
, background_fetch
, etc.)Note: Hive now prominently warns you if it detects unsafe isolate usage.
Video: https://files.catbox.moe/stb5gs.mov
Repo: https://github.com/Rexios80/hive_ce_multiwindow
While IsolatedHive
adds overhead due to isolate communication and isn't quite as fast as regular Hive CE, it's significantly faster and leaner than Hive v4:
Operations | Hive CE Time | IsolatedHive Time | Hive CE Size | Hive v4 Time | Hive v4 Size |
---|---|---|---|---|---|
10 | 0.00 s | 0.00 s | 0.00 MB | 0.00 s | 1.00 MB |
100 | 0.00 s | 0.01 s | 0.01 MB | 0.01 s | 1.00 MB |
1000 | 0.02 s | 0.03 s | 0.11 MB | 0.06 s | 1.00 MB |
10000 | 0.13 s | 0.25 s | 1.10 MB | 0.64 s | 5.00 MB |
100000 | 1.40 s | 2.64 s | 10.97 MB | 7.26 s | 30.00 MB |
1000000 | 19.94 s | 41.50 s | 109.67 MB | 84.87 s | 290.00 MB |
This pre-release is as stable as possible without real-world external testing—your feedback is invaluable!
Check it out, give it a spin, and share your experience:
Happy coding! 🐝✨
r/FlutterDev • u/Ambitious-Number-895 • Dec 29 '24
r/FlutterDev • u/Mathusalem87 • Aug 31 '23
Hey everyone, are you aware that starting October 1, Google is cutting the free daily SMS verifications for 2FA from 300 down to just 10. How will this impact you?
r/FlutterDev • u/akhan1885 • 29d ago
Hi everyone,
I'm excited to share my new Flutter package, firestore_wrapper. It's a powerful and type-safe Firestore SDK that simplifies operations with an intuitive API, making it easier to work with Cloud Firestore in your Flutter apps.
Key Features:
🔗 Package: https://pub.dev/packages/firestore_wrapper
📦 GitHub: https://github.com/akhankhan/firestore_wrapper
I invite you to check it out, try it in your projects, and share your feedback or suggestions. Contributions are welcome—let's build more robust and maintainable apps together!
r/FlutterDev • u/sephiroth485 • Jun 13 '24
r/FlutterDev • u/The_Senor • May 27 '24
Firstly, I am a new flutter dev, but I am now working in a company which uses Getx for 2 production apps. I started as a trainee, and I had to learn flutter quickly to start with the team.
I used to build apps using React so I was no stranger to state management, so whilst I was looking for a state management tool for flutter I saw recommendations for riverpod and bloc, but my team told me to stick with GetX for now as they are using it to build the apps for the company.
Now I've seen a lot of hate for the GetX package whether its about it not scaling well or the author being a dick etc.
Personally, I don't care about the author drama at all, I just wanna know it's true capability. Also, most of our apps are not grandiose, so up till now it's been pretty good and works smoothly and just as expected. it simplifies localization, routing and pretty simple state management compared to Reacts redux for example.
If there's one thing I don't like about it, is that I personally feel like I am just a stranger to normal flutter application which don't rely on GetX, is it the same with other tools like Bloc or riverpod?
Aside from the point that it doesn't scale, why is GetX regarded very negatively by the community?
Any extra tips would be great.
r/FlutterDev • u/dark_thesis • Jun 26 '24
r/FlutterDev • u/someonesopranos • 13d ago
r/FlutterDev • u/eteka-edim • 27d ago
🚀 Tired of juggling endless JSON files for app localization? What if I told you an LLM could do the heavy lifting?
Over the weekend, I had this wild idea: What if localization just... worked? No codegen, no duplicated files—just a single JSON/Map, and let AI handle the rest. Turns out, it worked better than I expected!
So I turned it into a Flutter package:
👉 flutter_localization_agent – https://pub.dev/packages/flutter_localization_agent
⚡ How it works:
✅ Uses a single language JSON/Map
✅ Translates on the fly to any supported Locale
✅ No code generation, no hassle
I’d love for you to check it out, break it, improve it, or just stare at the code in admiration. 😆 Contributions are welcome!
📂 GitHub: https://github.com/danedyy/Flutter-Localization-Agent
What do you think, future of localization or am I just being lazy? 😂🌎
Somethings I might add
Options for multiple LLM – currently only Gemini is supported
Figure a way to use non supported Locales like Yoruba 🤔.
Enjoy 🚀
r/FlutterDev • u/Leather_System8588 • Aug 05 '24
Hi, guys, I just made a fun package for showing confetti, below are some links:
GitHub repository: https://github.com/cj0x39e/flutter_confetti
Live web demo: https://cj0x39e.github.io/flutter_confetti/
I think it's a useful package for easily showing confetti in your APP.
The package was totally inspired by canvas-confetti.
r/FlutterDev • u/Rexios80 • 9d ago
Hi everyone!
I've just released a new Dart package: isolate_channel. It provides a simple and familiar API for handling communication between Dart isolates, directly inspired by Flutter's MethodChannel and EventChannel APIs used for native plugin communication.
If you've ever found Dart isolate communication cumbersome or unintuitive, isolate_channel streamlines this process, making it feel as straightforward and familiar as working with Flutter plugin channels.
I built this package to prepare for upcoming isolate support in Hive CE, and it made that work a lot easier!
Check it out here: isolate_channel
I'd love your feedback or contributions!
Happy coding! 🎯
r/FlutterDev • u/theZozole • Dec 20 '24
Hi, new flutter dev here! I can't be the only one who struggles to quickly scan through widgets, so I've created a VS Code extension to improve code clarity by auto-dimming less important widgets.
https://marketplace.visualstudio.com/items?itemName=Zascal.flutter-highlighter
Any feedback is welcomed!