Viewing version 1.0.0. Open the latest package page.

animations

1.0.0

Fancy pre-built Animations for Flutter.

Download archive

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

VersionPublishedArchiveSHA-256
1.0.0Cached · Upstream SHA-256 matchedDownload28b7d968…e567dc
1.0.0+1Cached · Upstream SHA-256 matchedDownload31e92670…580c71
1.0.0+2Cached · Upstream SHA-256 matchedDownloadf33480b3…025919
1.0.0+3Cached · Upstream SHA-256 matchedDownload5342e864…846e7b
1.0.0+4Cached · Upstream SHA-256 matchedDownload1c1d5de9…654f3a
1.0.0+5Cached · Upstream SHA-256 matchedDownload2adbc89e…dab190
1.1.0Cached · Upstream SHA-256 matchedDownloadff54e53d…cd8e74
1.1.1Cached · Upstream SHA-256 matchedDownload04c1dcac…ae9d85
1.1.2Cached · Upstream SHA-256 matchedDownload13447045…3b287c
2.0.0-nullsafety.0Cached · Upstream SHA-256 matchedDownload7aa03ced…14f1c4
2.0.0Cached · Upstream SHA-256 matchedDownloadb8c936e6…79a4f2
2.0.1Cached · Upstream SHA-256 matchedDownloade519481c…dcf2c3
2.0.2Cached · Upstream SHA-256 matchedDownloadb70b084d…c7c5b6
2.0.3Cached · Upstream SHA-256 matchedDownload1a5baa98…eef224
2.0.4Cached · Upstream SHA-256 matchedDownload08abd412…a3b552
2.0.5Cached · Upstream SHA-256 matchedDownload047803c3…295017
2.0.6Cached · Upstream SHA-256 matchedDownloadb907674a…748b95
2.0.7Cached · Upstream SHA-256 matchedDownloadfe8a6bdc…934164
2.0.8Cached · Upstream SHA-256 matchedDownloadef57563e…b88a70
2.0.10Cached · Upstream SHA-256 matchedDownload708e4b68…cea6c5
2.0.11Cached · Upstream SHA-256 matchedDownloadd3d6dcfb…9911cb
2.1.0Cached · Upstream SHA-256 matchedDownloada8031b27…02b427
2.1.1Cached · Upstream SHA-256 matchedDownload18938cef…9e96ab
2.1.2Cached · Upstream SHA-256 matchedDownloada120785b…b30186
2.2.0Cached · Upstream SHA-256 matchedDownload9cb46921…659e7f
3.0.0Cached · Upstream SHA-256 matchedDownload5ec868ff…7ac5dd

Dependencies

flutter { "sdk": "flutter" }