文件最后提交记录最后更新时间
Ensure Example Packages Work on Android API 36 (#9241) Ensured the example plugin apps on Android work on Android API 36 by updating configurations and sucessfully running flutter build apk (means the app can successfully build + all dependencies are resolvable). For compatibility with Android API 36, the example plugin apps on Android should have the following configurations: targetSdk: 36 compileSdk: 36 AGP version: 8.9.1 Gradle version: 8.11.1 Most packages no longer require a manual bump of targetSdk and compileSdk due to usage of values from Flutter Gradle Plugin. Below is a list of example plugin apps on Android: Partially Adresses https://github.com/flutter/flutter/issues/163071 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.1 年前
[various] Add Swift Package Manager integration to example apps (#8219) This migrates various example apps to have Swift Package Manager integration. This raises the example apps' Flutter SDK requirement to 3.24.0 or higher. I will get a text exemption for this change. The example apps were migrated using the following commands: ``` dart run script/tool/bin/flutter_plugin_tools.dart build-examples --ios --swift-package-manager dart run script/tool/bin/flutter_plugin_tools.dart build-examples --macos --swift-package-manager ``` ⚠️ The following plugins' example apps are **not* included in this change as their migration included non-SPM changes that require closer review: 1. google_sign_in 1. google_sign_in_ios 1. image_picker 1. image_picker_ios 1. image_picker_macos 1. pigeon Part of: https://github.com/flutter/flutter/issues/1591731 年前
[go_router] Fix a typo in a comment in the shell_route.dart (#8235) Fixed a typo in a comment in the shell_route.dart.1 年前
[various] Add Swift Package Manager integration to example apps (#8219) This migrates various example apps to have Swift Package Manager integration. This raises the example apps' Flutter SDK requirement to 3.24.0 or higher. I will get a text exemption for this change. The example apps were migrated using the following commands: ``` dart run script/tool/bin/flutter_plugin_tools.dart build-examples --ios --swift-package-manager dart run script/tool/bin/flutter_plugin_tools.dart build-examples --macos --swift-package-manager ``` ⚠️ The following plugins' example apps are **not* included in this change as their migration included non-SPM changes that require closer review: 1. google_sign_in 1. google_sign_in_ios 1. image_picker 1. image_picker_ios 1. image_picker_macos 1. pigeon Part of: https://github.com/flutter/flutter/issues/1591731 年前
[go_router] Add support for relative routes (#6825) Add supports for relative routes by allowing going to a path relatively, like go('./$path') This PR doesn't fully resolve any issue, but it's mandatory to further add examples & tests for TypedRelativeGoRoute (see [#7174](https://github.com/flutter/packages/pull/6823)), which will resolves [#108177](https://github.com/flutter/flutter/issues/108177)1 年前
Drop deprecated HTML head meta tags (#8970) Towards https://github.com/flutter/flutter/issues/1661661 年前
[go_router] adding go_router (#884) 4 年前
[go_router] adding go_router (#884) 4 年前
[various] Speed up build-examples (#3849) https://github.com/flutter/flutter/issues/125707 - Create pluginTools config for every example that shrunk material icons and had an android config Likely some build caching but before/after If someone knows how to clean the cache or force a rebuild I will give more accurate after numbers. Command time dart run ./script/tool/bin/flutter_plugin_tools.dart build-examples --apk Secondary validation from @stuartmorgan who discovered this is between a 10% and 25% speed increase. Existing tests add confidence this is non-breaking. New tests not required because these are optional flags. Validation this does not change is low consequence. Test update to exclude these config files from changelog requirements.3 年前
[go_router] docs: fix flutter run command for Stateful Nested Navigation (#7158) There was a typo or out-of-date reference to a dart file in the go router example of Stateful Nested Navigation. This PR fix the name of the file in the flutter run command. Resolve [issue 151961](https://github.com/flutter/flutter/issues/151961)1 年前
Update repo for 3.32 stable (#9311) Does all of the steps from https://github.com/flutter/flutter/blob/master/docs/ecosystem/release/Updating-Packages-repo-for-a-stable-release.md for the 3.32 stable release (except the first one, as the stable roller has already landed).11 个月前
README.md

Example Catalog

Get started

flutter run lib/main.dart

An example to demonstrate a simple two-page app.

Sub-routes

flutter run lib/sub_routes.dart

An example to demonstrate an app with multi-level routing.

Query parameters and path parameters

flutter run lib/path_and_query_parameters.dart

An example to demonstrate how to use path parameters and query parameters.

Named routes

flutter run lib/named_routes.dart

An example to demonstrate how to navigate using named locations instead of URLs.

Redirection

flutter run lib/redirection.dart

An example to demonstrate how to use redirect to handle a synchronous sign-in flow.

Asynchronous Redirection

flutter run lib/async_redirection.dart

An example to demonstrate how to use handle a sign-in flow with a stream authentication service.

Stateful Nested Navigation

flutter run lib/stateful_shell_route.dart

An example to demonstrate how to use a StatefulShellRoute to create stateful nested navigation, with a BottomNavigationBar.

Exception Handling

flutter run lib/exception_handling.dart

An example to demonstrate how to handle exception in go_router.

Extra Codec

flutter run lib/extra_codec.dart

An example to demonstrate how to use a complex object as extra.

Books app

flutter run lib/books/main.dart

A fully fledged example that showcases various go_router APIs.