build
packages
build | packages | |
---|---|---|
7 | 22 | |
793 | 4,522 | |
0.3% | 2.1% | |
8.2 | 9.9 | |
10 days ago | 4 days ago | |
Dart | Dart | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" 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.
build
-
How to create a generator package
The official documentation is here. It's not very beginner friendly. Therefore, it might be easier to look at the examples.
-
Source code gen in Flutter & Dart: How to create a builder to generate SQL code
In the first part of this series of posts, we discussed how Flutter and -Dart in general- makes use of builders to generate source code during the build process.
- Generating interfaces from configuration file
-
Source code generation in Flutter & Dart (Part 1): Reflection and code gen
build: "Defines the basic pieces of how a build happens and how they interact."
-
Incidences App
build_runner
-
Why Flutter is the most popular cross-platform mobile SDK
Having spent about 6 months each with SwiftUI and Flutter I vastly prefer working with Flutter. Swift is a far more ambitious language but really doesn't live up to it's own marketing. Many of the features are half down (generics and protocols are both full of holes). Dart on the other hand doesn't have half as many nice features but the one's that are there are rock solid. Reified generics in particular is far nicer to work with (Swift's compiler gets regularly gets lost on type resolution and then doesn't give you any way to give it hints). Dart also seems to be heading in the right direction. It's added null safety and the upcoming metaprogramming features should fill in many of the gaps that are currently filled by the very practical but clunky https://pub.dev/packages/build.
-
Any good practices / articles / examples for a program written in dart capable of plugins?
I am one of the authors of the build package (https://github.com/dart-lang/build) which does effectively expose a plugin system. We take the approach of creating a wrapper script that actually just generates the real program (adds imports to the plugins, registers them, etc) and then it just runs that program. There are several downsides to this approach though (primarily, slow startup).
packages
- Implementing Flutter Barcode Scanner with Kotlin and CameraX for Android
-
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.
What are some alternatives?
encrypt - 🔒 A set of high-level APIs over PointyCastle for two-way cryptography.
flutter_phoenix - Easily restart your application from scratch.
rxdart - The Reactive Extensions for Dart
flutter_file_picker - File picker plugin for Flutter, compatible with mobile (iOS & Android), Web, Desktop (Mac, Linux, Windows) platforms with Flutter Go support.
pub-dev - The pub.dev website
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. [UnavailableForLegalReasons - Repository access blocked]
appwrite_incidence_employe