1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Arteev Raina
e7d70288d9 [animations]: added test for AnimatedList (#637) 2021-01-26 22:39:05 -08:00
Brett Morgan
622e8d55d3 Migrate to the New Material Buttons (#668) 2021-01-27 13:20:50 +11:00
Priyanshu Agarwal
6502209a78 bug fix in cutomTweenDemo (#675) 2021-01-27 09:21:42 +11:00
Brett Morgan
6e9824dc12 flutter pub update & various fixes (#627) 2020-12-18 10:51:31 +11:00
Arteev Raina
d01e6ab2bf [animations] added test for HeroAnimation (#620) 2020-12-16 21:48:05 -08:00
Alabhya
e940d54618 Added title (#614) 2020-12-14 22:01:15 -08:00
Alabhya
0264184a2c [animation] Replaced depricated property(overflow) with new one(clipBehavior) (#607) 2020-12-09 22:43:31 -08:00
Tushar Ojha
092e78162c [Animations] Button size increased (#600) 2020-11-26 19:24:42 +11:00
Tushar Ojha
9b968cf85e [animations] adds test for AnimatedPositioned (#576) 2020-11-02 13:06:28 -08:00
Andrew Brogdon
9af31afec4 Updates for Flutter 1.22 (#559) 2020-10-01 11:14:27 -07:00
Mohak Shrivastava
850eff6330 add remove-button (#545) 2020-09-17 16:56:30 -07:00
Andrew Brogdon
0eb1233cb4 Updates samples for latest beta release of the Flutter SDK (#492)
* Updating for beta release

* Re-adding pub get to Flutter travis script
2020-08-05 08:05:31 -07:00
Ayush Bherwani
491c3f58aa [animations] adds test for CarouselDemo (#443) 2020-06-05 18:15:59 -07:00
Abdullah Deshmukh
b518c322cc [animations] Add widget tests for card_swipe (#442) 2020-05-22 21:34:44 +10:00
Brett Morgan
baa1f976b2 Samples maintenance (#435) 2020-05-13 09:18:26 +10:00
John Ryan
14b9a8c4c4 Flutter 1.17 updates (#432)
* Material text theme updates & flutter pub upgrade (#411)

* Beta channel updates (#412)

* fix deprecated usages in provider_shopper - beta channel

* fix deprecated usages in animations - beta channel

* fix deprecated usages in provider_counter - beta

* Updates additional samples for beta release (#416)

* use headline6 instead of title

* fix another title -> headline6

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
Co-authored-by: Andrew Brogdon <RedBrogdon@users.noreply.github.com>
2020-05-06 14:09:15 -07:00
Andrew Brogdon
c7f5030079 Moved two animation vignettes into misc. (#425) 2020-05-04 13:38:38 -07:00
Ayush Bherwani
b2f3ccfad2 [animations] adds widget test for expand card (#410) 2020-04-27 17:31:04 -07:00
Ayush Kumar Shaw
ed284c78bd Added CurvedAnimation Sample (#385) 2020-04-22 22:08:12 -07:00
Brett Morgan
28742ddeaf Adding directives_ordering (#396) 2020-03-26 06:14:39 +11:00
Ayush Bherwani
f8e3d391f3 Added more examples in animations (#341) 2020-03-18 16:49:18 -07:00
Jaideep Prasad
73ee9832a2 [animations] Added FadeTransition Demo (#375)
* [animations] Added FadeTransition Demo

* updated acc to reviews

* updated acc to reviews

Co-authored-by: John Ryan <ryjohn@google.com>
2020-03-17 16:08:15 -07:00
Jaideep Prasad
b1a4a24f64 [animations] new animation sample: Hero Animation Demo (#364) 2020-03-17 15:18:30 -07:00
Andrew Brogdon
1289227832 Moving animated list sample (#366) 2020-03-10 16:33:23 -07:00
Govind Dixit
c358eda342 feat: add more animations examples (#345) 2020-03-10 08:25:45 -07:00
John Ryan
0a5a5109de Add samples index (#359)
* add samples_index to web/ directory

Co-authored-by: Thea Flowers <theaflowers@google.com>

* add pub_get.dart script

* build sample index in peanut post build

* re-generate sample index with web demos

* print more details in peanut_post_build.dart

* add images for demos

* run generator

* update README

* add animations and provider shopper as symlinks

* add links to symlinked web demos

* use relative paths

* update cookbook images, urls, and description CSS

* use relative URL for navbar link

* unstage HTML files

* .gitignore generated HTML files

* add margin to toolbar

* rename escape functions

* add and update copyright headers

Co-authored-by: Thea Flowers <theaflowers@google.com>
2020-03-09 16:17:08 -07:00
Harun Madanoglu
f98d66d514 Fix - text on MaterialButton not changing (#324) 2020-02-21 08:38:57 -08:00
sanni prasad
0a88d4519e Update cupertino_icons: from 0.1.2 to 0.1.3 (#325) 2020-02-12 10:28:00 -08:00
Brett Morgan
ec51b0e711 Move com.example to dev.flutter (#227) 2020-01-14 09:47:10 +10:00
Brett Morgan
eea6f180ee Reverting the dev.flutter -> com.example change (#222) 2020-01-10 10:16:34 +11:00
Brett Morgan
9a8f9cbaf9 Adding macos files, recreating android and ios. (#217) 2020-01-10 06:30:05 +11:00
Brett Morgan
73086e20c1 Beta branch fix (#173) 2019-12-11 13:01:45 -05:00
Brett Morgan
22f01ff4a6 Analysis options uplift to 1.8 (#169) 2019-11-22 11:12:35 +11:00
Matt Sullivan
f2ca77008a Updated spring animation example (#158) 2019-11-05 09:25:09 -08:00
Thea Flowers
74c1777b2a touch ./animations (#148)
* Update project structure using flutter create and remove unused tests
* Small updates to main.dart
* Update maintenance.md
* Add missing newline
* Add rudimentary test
* Apply formatting
2019-10-07 14:57:12 -07:00
Thea Flowers
e3338726c6 Add shared analysis_options.yaml to animation samples (#145) 2019-09-27 14:36:38 -07:00
John Ryan
f9d973e7ba call super.dispose() in sample (#141)
closes flutter/flutter#40157
2019-09-10 16:01:26 -07:00
Thea Flowers
4481391d39 Fix small nits with the animation samples (#138) 2019-09-10 15:34:30 -07:00
Andrew Brogdon
16fa475ff8 Updates for 1.9 (#139) 2019-09-10 08:47:34 -07:00
Thea Flowers
3348c2f2dd Add helpful comments to the animation samples (#136) 2019-09-05 09:46:17 -07:00
John Ryan
5a81d1dc78 update animations README (#130)
* update animations README

* formatting

* formatting

* use bulleted list
2019-08-16 09:37:15 -07:00
John Ryan
349ca7bc6f add TweenSequence sample (#127)
* Add TweenSequence sample

* rename to TweenSequenceDemo

* add copyright headers

* remote type

* introduce animated builder earlier in basics/

so that other examples can use it

* formatting

* use async / await, increase animation duration
2019-08-13 14:13:57 -07:00
John Ryan
b51d75966a Add scroll physics demo (#123)
* add spring physics card demo

* fix button colors in animations project

* code review updates

* refactor method into runAnimation

* combine updateAnimation and runAnimation

* update comment
2019-08-08 10:10:57 -07:00
John Ryan
734b961c57 add animations basics 1-6 (#120)
* add basics

* web: update dependencies

* TransferableTypeData added (#116)

* Updating index with new samples (#121)

* use arrow functions

* remove newline

* use verbs: random*() -> generate*()

* remove <Widget>[] type annotation on lists

* use raised button

* _route() => _createRoute()

* add parameter names to pageBuilder

* use the text theme's display1 for large text

* dispose animation controllers before calling super()

* remove local var

* use raised buttons instead of material buttons

* web: updated dependencies

* Added new test scripts (#122)

* add carousel, card_swipe, and focus_image samples (#119)

* add carousel, card_swipe, and focus_image samples

* fix image assets

* fix more asset images

* add repeating animation

* fix import

* add copyright headers

* remove Center widget

* imageAssetName

* use ClipRect, refactor _SwipeableCardState

* use offset.zero

* add comments

* remove reference to coverflow package

* change spread to toList()

* refactor coverflow sample

don't set width and height
use const
data -> images

* return widget directly, fix formatting

* inline transitionsBuilder

* image -> imageAssetName

* _rectTween() => _createTween()

* _expandToPageRoute -> _createRoute

* move non-updating widgets out of AnimatedBuilder

* code review updates to animations demos
2019-07-29 09:23:04 -07:00
John Ryan
4966440a29 add carousel, card_swipe, and focus_image samples (#119)
* add carousel, card_swipe, and focus_image samples

* fix image assets

* fix more asset images

* add repeating animation

* fix import

* add copyright headers

* remove Center widget

* imageAssetName

* use ClipRect, refactor _SwipeableCardState

* use offset.zero

* add comments

* remove reference to coverflow package

* change spread to toList()

* refactor coverflow sample

don't set width and height
use const
data -> images

* return widget directly, fix formatting

* inline transitionsBuilder

* image -> imageAssetName

* _rectTween() => _createTween()

* _expandToPageRoute -> _createRoute

* move non-updating widgets out of AnimatedBuilder

* code review updates to animations demos
2019-07-29 09:11:03 -07:00
John Ryan
2d42fcfd31 Add animation samples (#118)
* initialize animations sample project

* add two demos, set up routing

* clean up expand_card demo

* update README

* clean up expand_card demo

* dartfmt

* update comment

* address code review comments

* swap AnimatedContainer and AnimatedCrossFade

* use AnimatedSwitcher instead of AnimatedCrossFade

* Revert "use AnimatedSwitcher instead of AnimatedCrossFade"

This reverts commit e112e02549.

* rename expanded -> selected

* use  Dart 2.4.0 constraint

* update README

* address code review comments

update images
add curves to expand_card
update pubspec.lock

* add @override annotation

* add animations project to travis script

* add empty test for travis

* add copyright notice to animations/ project
2019-07-23 15:51:57 -07:00