mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
7f9f7959ecea4c05838b52e3ae1fab6005e932b3
Bumps [ffigen](https://github.com/dart-lang/native/tree/main/pkgs) from 9.0.1 to 10.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/native/releases">ffigen's releases</a>.</em></p> <blockquote> <h2>package:ffigen v10.0.0</h2> <ul> <li>Stable release targeting Dart 3.2 using new <code>dart:ffi</code> features available in Dart 3.2 and later.</li> <li>Add support for ObjC Blocks that can be invoked from any thread, using NativeCallable.listener.</li> <li>Fix invalid exceptional return value ObjCBlocks that return floats.</li> <li>Fix return_of_invalid_type analysis error for ObjCBlocks.</li> <li>Fix crash in ObjC methods and blocks that return structs by value.</li> <li>Fix ObjC methods returning instancetype having the wrong type in sublasses.</li> <li>When generating typedefs for <code>Pointer<NativeFunction<Function>></code>, also generate a typedef for the <code>Function</code>.</li> <li>Use Dart wrapper types in args and returns of ObjCBlocks.</li> <li>Use Dart wrapper types in args and returns of static functions.</li> <li>Renamed <code>asset</code> to <code>assetId</code> for <code>ffi-native</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="c64e9c87e1"><code>c64e9c8</code></a> [ffigen] Stable release 10.0.0 (<a href="https://github.com/dart-lang/native/tree/main/pkgs/issues/202">#202</a>)</li> <li><a href="e3e63406da"><code>e3e6340</code></a> [ffigen] Update urls after repo merge (<a href="https://github.com/dart-lang/native/tree/main/pkgs/issues/203">#203</a>)</li> <li><a href="c0018281da"><code>c001828</code></a> update repo references from the move (<a href="https://github.com/dart-lang/native/tree/main/pkgs/issues/198">#198</a>)</li> <li><a href="3634229877"><code>3634229</code></a> Merge package:ffigen into dart-lang/native</li> <li><a href="85e4257b34"><code>85e4257</code></a> [ffigen] Change ffigen to use dart-lang/native's directory stucture</li> <li><a href="1920cc9823"><code>1920cc9</code></a> [ffigen] Prepare for merge into dart-lang/native (<a href="https://github.com/dart-lang/native/tree/main/pkgs/issues/641">#641</a>)</li> <li><a href="eaea725b09"><code>eaea725</code></a> Preserve temp directory when running isolated test on Windows (<a href="https://github.com/dart-lang/native/tree/main/pkgs/issues/192">#192</a>)</li> <li><a href="2491826d4d"><code>2491826</code></a> [ffigen] ObjC static functions (<a href="https://github.com/dart-lang/native/tree/main/pkgs/issues/633">#633</a>)</li> <li><a href="e2d6f4c9eb"><code>e2d6f4c</code></a> [ffigen] Bump actions/checkout from 4.1.0 to 4.1.1 (<a href="https://github.com/dart-lang/native/tree/main/pkgs/issues/636">#636</a>)</li> <li><a href="bf2e60dded"><code>bf2e60d</code></a> [ffigen] Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (<a href="https://github.com/dart-lang/native/tree/main/pkgs/issues/637">#637</a>)</li> <li>Additional commits viewable in <a href="https://github.com/dart-lang/native/commits/ffigen-v10.0.0/pkgs">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Flutter samples
A collection of open source samples that illustrate best practices for Flutter.
Visual samples index
The easiest way to browse through the samples in this repo (as well as a few others!) is the visual samples index.
Tip: minimize download size
As this repository is quite big, you can use svn to download a single example. For example:
svn co https://github.com/flutter/samples/trunk/provider_shopper
You can also use a partial clone to skip blob objects that aren't currently checked out, while including the full commit history:
git clone --filter=blob:none https://github.com/flutter/samples.git
Interested in contributing?
See the contributor's guide!
Questions or issues?
If you have a general question about one of these samples or how to adapt its techniques for one of your own apps, try one of these resources:
If you run into a bug in one of the samples, please file an issue in the
flutter/samples issue tracker.
Description
Languages
Dart
71%
C++
11.4%
CMake
8.7%
Kotlin
2.2%
Swift
1.9%
Other
4.8%