mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
â ï¸ **Dependabot is rebasing this PR** â ï¸ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- Bumps [go_router](https://github.com/flutter/packages/tree/main/packages) from 11.1.4 to 12.0.0. <details> <summary>Commits</summary> <ul> <li><a href="1a24dadf92"><code>1a24dad</code></a> [go_router] adds ability to dynamically update routing table. (<a href="https://github.com/flutter/packages/tree/main/packages/issues/5079">#5079</a>)</li> <li><a href="47a14fd229"><code>47a14fd</code></a> [flutter_lints] rev flutter_lints to 3.0; increase dep on package:lints (<a href="https://github.com/flutter/packages/tree/main/packages/issues/5177">#5177</a>)</li> <li><a href="d4390624a6"><code>d439062</code></a> [gis_web] Adds FedCM toggle. (<a href="https://github.com/flutter/packages/tree/main/packages/issues/5123">#5123</a>)</li> <li><a href="e8127e76d5"><code>e8127e7</code></a> [quick_actions] Convert android to pigeon (<a href="https://github.com/flutter/packages/tree/main/packages/issues/5099">#5099</a>)</li> <li><a href="b96a6dae0c"><code>b96a6da</code></a> [flutter_image] added example app (<a href="https://github.com/flutter/packages/tree/main/packages/issues/4353">#4353</a>)</li> <li>See full diff in <a href="https://github.com/flutter/packages/commits/go_router-v12.0.0/packages">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`. --- <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>
Animation Samples
Sample apps that showcase Flutter's animation features
Goals
- Demonstrate the building blocks for animations and how they work together.
- Provide samples for common patterns and use-cases.
Samples
Basics
Building blocks and patterns
- AnimatedContainerDemo: Demonstrates how to use
AnimatedContainer. - PageRouteBuilderDemo: Demonstrates how to use
TweenandAnimationto build a custom page route transition. - AnimationControllerDemo: Demonstrates how to use an
AnimationController. - TweenDemo: Demonstrates how to use a
Tweenwith anAnimationController. - AnimatedBuilderDemo: Demonstrates how to use an
AnimatedBuilderwith anAnimationController. - CustomTweenDemo: Demonstrates how to extend
Tween. - TweenSequenceDemo: Demonstrates how to use
TweenSequenceto build a button that changes between different colors. - FadeTransitionDemo: Demonstrates how to use
FadeTransition.
Misc
Other uses-cases and examples
- RepeatingAnimationDemo: Demonstrates how to repeat an animation.
- ExpandCardDemo: Demonstrates how to use
AnimatedCrossFadeto fade between two widgets and change the size. - CarouselDemo: Demonstrates how to use
PageViewwith a custom animation. - FocusImageDemo: Demonstrates how to measure the size of a widget and
expand it using a
PageRouteBuilder. - PhysicsCardDragDemo: Demonstrates how to run an AnimationController with a spring simulation.
- CardSwipeDemo: A swipeable card that demonstrates how to use gesture detection to drive an animation.
- AnimatedList: Demonstrates how to use
AnimatedList. - AnimatedPositionedDemo: Demonstrates how to use
AnimatedPositioned. - AnimatedSwitcherDemo: Demonstrates how to use
AnimatedSwitcher. - HeroAnimationDemo: Demonstrates how to use
Heroanimation. - CurvedAnimationDemo: Demonstrates how to use different curves in
CurvedAnimation.