Viewing version 1.0.0. Open the latest package page.
animations
1.0.0Fancy pre-built Animations for Flutter.
Readme
Fancy pre-built Animations for Flutter
This package contains pre-canned animations for commonly-desired effects. The animations can be customized with your content and dropped into your application to delight your users.
To see examples of the following animations on a device or simulator:
cd example/
flutter run --release
Available Animations
Currently, the following animated effects are available in this library:
Material's Open Container Transitions
Tapping on a container (e.g. a card or a button) will expand the container to reveal more information.
| Card with Fade Transition | Card with Fade Through Transition |
|---|---|
| Open Container Card Fade Transition Demo | Open Container Card Fade Through Transition Demo |
| Floating Action Button with Fade Transition | Floating Action Button with Fade Through Transition |
| Open Container Card Fade Transition Demo | Open Container Floating Action Button Fade Through Transition Demo |
Material's Shared Axis Transitions
A transition animation between UI elements that have a spatial or navigational relationship.
| Horizontal (x-axis) | Vertical (y-axis) | Scaled (z-axis) |
|---|---|---|
| Shared Axis Horizontal Transition Demo | Shared Axis Vertical Transition Demo | Shared Axis Scaled Transition Demo |
Material's Fade Through Transition
A transition animation between UI elements that have do not have a strong relationship to one another.
| Fade Through Page Transition |
|---|
| Fade Through Transition Demo |
Material's Fade Transition
The fade pattern is used for UI elements that enter or exit from within the screen bounds.
| Modal Fade Transition | Floating Action Button Fade Transition |
|---|---|
| Fade Modal Transition Demo | Fade Floating Action Button Transition Demo |
Changelog
[1.0.0] - February 18, 20200
- Initial release
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'animations:1.0.0'pubspec.yaml
name: animations
description: Fancy pre-built Animations for Flutter.
version: 1.0.0
homepage: https://github.com/flutter/packages/tree/master/packages/animations
environment:
sdk: ">=2.2.2 <3.0.0"
dependencies:
flutter:
sdk: flutter
dev_dependencies:
flutter_test:
sdk: flutter
vector_math: ^2.0.8
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 1.0.0 | Cached · Upstream SHA-256 matched | Download | 28b7d968…e567dc |
| 1.0.0+1 | Cached · Upstream SHA-256 matched | Download | 31e92670…580c71 |
| 1.0.0+2 | Cached · Upstream SHA-256 matched | Download | f33480b3…025919 |
| 1.0.0+3 | Cached · Upstream SHA-256 matched | Download | 5342e864…846e7b |
| 1.0.0+4 | Cached · Upstream SHA-256 matched | Download | 1c1d5de9…654f3a |
| 1.0.0+5 | Cached · Upstream SHA-256 matched | Download | 2adbc89e…dab190 |
| 1.1.0 | Cached · Upstream SHA-256 matched | Download | ff54e53d…cd8e74 |
| 1.1.1 | Cached · Upstream SHA-256 matched | Download | 04c1dcac…ae9d85 |
| 1.1.2 | Cached · Upstream SHA-256 matched | Download | 13447045…3b287c |
| 2.0.0-nullsafety.0 | Cached · Upstream SHA-256 matched | Download | 7aa03ced…14f1c4 |
| 2.0.0 | Cached · Upstream SHA-256 matched | Download | b8c936e6…79a4f2 |
| 2.0.1 | Cached · Upstream SHA-256 matched | Download | e519481c…dcf2c3 |
| 2.0.2 | Cached · Upstream SHA-256 matched | Download | b70b084d…c7c5b6 |
| 2.0.3 | Cached · Upstream SHA-256 matched | Download | 1a5baa98…eef224 |
| 2.0.4 | Cached · Upstream SHA-256 matched | Download | 08abd412…a3b552 |
| 2.0.5 | Cached · Upstream SHA-256 matched | Download | 047803c3…295017 |
| 2.0.6 | Cached · Upstream SHA-256 matched | Download | b907674a…748b95 |
| 2.0.7 | Cached · Upstream SHA-256 matched | Download | fe8a6bdc…934164 |
| 2.0.8 | Cached · Upstream SHA-256 matched | Download | ef57563e…b88a70 |
| 2.0.10 | Cached · Upstream SHA-256 matched | Download | 708e4b68…cea6c5 |
| 2.0.11 | Cached · Upstream SHA-256 matched | Download | d3d6dcfb…9911cb |
| 2.1.0 | Cached · Upstream SHA-256 matched | Download | a8031b27…02b427 |
| 2.1.1 | Cached · Upstream SHA-256 matched | Download | 18938cef…9e96ab |
| 2.1.2 | Cached · Upstream SHA-256 matched | Download | a120785b…b30186 |
| 2.2.0 | Cached · Upstream SHA-256 matched | Download | 9cb46921…659e7f |
| 3.0.0 | Cached · Upstream SHA-256 matched | Download | 5ec868ff…7ac5dd |
Dependencies
flutter {
"sdk": "flutter"
}