packages
freezed
Our great sponsors
packages | freezed | |
---|---|---|
21 | 43 | |
3,962 | 1,810 | |
2.8% | - | |
9.9 | 9.0 | |
1 day ago | 3 days ago | |
Dart | Dart | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
packages
-
Microsoft's Adaptive UI
There's a similar project from Google: https://github.com/flutter/packages/tree/main/packages/rfw
rfw is used by Google's Gemini LLM to generate UI.
rfw runs on the web/android/ios/macos/linux/windows, anywhere where Flutter runs.
- GoRouter's on track to get stateful navigation. Huge thanks to the dev that worked on it! I've been waiting for this feature for a while now.
-
Odd drag gesture experience with google_maps_flutter on iOS
I am trying out google_maps_flutter's example on iOS, and I couldn't figure why when I drag the map, the map pans to a different location when I release. Does it happen to anyone?
-
Why flutter image picker is very slow, and is there an alternative
For the minimal app, you can simply try example of image picker here.
-
package: navbar_router release v0.5.0
see: https://github.com/flutter/packages/pull/2650
- go_router (Package of the Week)
-
Flutter seems like the cross platform that I needed but......
(TL;DR: Flutter Apps come with this set of rules by default: https://github.com/flutter/packages/blob/main/packages/flutter_lints/lib/flutter.yaml)
-
Flutter with riverpod and navigation, I have some questions
But be aware that go_router does not preserve the navigation state within the shell routes yet. It is being worked on though ( https://github.com/flutter/packages/pull/2650 )
-
A beginner’s guide to go_router in Flutter
In this article, we have discussed how to use go_router in your Flutter app as well as some of its features, like route parameters, query parameters, named routes, handling errors, and redirection. This is just a beginner's guide for getting started with go_router. If you want to learn more, visit the official go_router API documentation.
-
Should I use a Go router package if I'm not developing web apps
you should use path parameters so that it supports web https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/path_and_query_parameters.dart
freezed
-
Dart 3.3
There is the `sealed` class modifier which allows for exhaustive matching on possible types: https://dart.dev/language/class-modifiers#sealed
There's also a package called freezed which offers similar utility (you might already be familiar with this seeing as you mentioned pattern matching): https://pub.dev/packages/freezed
I recall there being a reason unions aren't generally implemented, though I'm not sure where I read it. It was to do with union types being unnecessarily complex for the compiler and the code they tend to produce, at no real benefit to the programmer or the resulting program. Go's lack of unions is essentially based around the same reasoning.
-
Fluvera is a Flutter SDUI package designed to simplify the process of building user interfaces (UIs) based on JSON server responses.
Interesting. May I ask how this differs from something like Freezed https://pub.dev/packages/freezed and its from/ToJson features ? I haven't used it yet, but I'm just curious about the concept and use of these sort of packages.
-
Dart 3.0: Best New Features & Why You Should Care
The official site does show what you can use it for but to explain a bit more, it helps you work faster.
-
🎉 Introducing MODDDELS: A Powerful Package for Robust, Self-Validated Models in Flutter & Dart
One rather minor suggestion: it took me a while to understand exactly what the benefits were, but the example shown on this page of the docs summarized it well. I would suggest showing an example like that at the top of the main Readme and first page of the site, before or right after the motivation section, similar to how Freezed immediately shows its value proposition.
-
Maximizing Your Flutter App's Performance with (Async)NotifierProvider, Freezed & Riverpod Code Generators
Read more on what you can do with Freezed.
-
Class Constructor Plugins- Are there any?
freezed on pub.dev
-
Firestore partial doc updates and type safety
We use freezed for our models, and then use withConverter in the firestore SDK to easily translate between firestore and our models... however we run into issues with concurrent updates to documents.
-
🚀 Building a Fullstack App with dart_frog and Flutter in a Monorepo - Part 2
Once the package has been created, we will install freezed for JSON serialization and value equality , as this library provides helpful tools for these tasks. We will use json_serializable for JSON serialization. To install freezed and freezed_annotation, open your terminal inside the models package and use the command:
-
Flutter Production Boilerplate and tutorials on Medium
Data class: freezed
-
Is 'Freezed' code generator worth the boilerplate?
I've recently been exploring a codebase which is heavily using Freezed with Bloc. The resulting code base is almost an entirely different language altogether, and comes with almost triple the files of a non-freezed codebase.
What are some alternatives?
flutter_phoenix - Easily restart your application from scratch.
json_serializable.dart - Generates utilities to aid in serializing to/from JSON.
pub-dev - The pub.dev website
bloc - A predictable state management library that helps implement the BLoC design pattern
flutter_file_picker - File picker plugin for Flutter, compatible with mobile (iOS & Android), Web, Desktop (Mac, Linux, Windows) platforms with Flutter Go support.
flutter_gen - The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
build - A build system for Dart written in Dart
Flutter - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
rxdart - The Reactive Extensions for Dart
flutter-fake-data-factory-pattern
internet_connection_checker - A pure Dart library that checks for internet by opening a socket to a list of specified addresses, each with individual port and timeout. Defaults are provided for convenience.
language - Design of the Dart language