Sasank Tumpati
0e1355841d
Fixed ThemeData in the Flutter Samples unnecessarily includes useMaterial3 = true (Issue #2214 ) ( #2217 )
8 months ago
Brett Morgan
e5ec08fccd
Update Samples for 3.16 ( #2085 )
...
*Replace this paragraph with a description of what this PR is changing
or adding, and why. Consider including before/after screenshots.*
*List which issues are fixed by this PR. For larger changes, raising an
issue first helps
reduce redundant work.*
## Pre-launch Checklist
- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] I read the [Contributors Guide].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].
<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
12 months ago
Miguel Beltran
715c4338f6
adding more named and explicit imports ( #1909 )
1 year ago
Miguel Beltran
93db48966c
Explicit import for Platform and kIsWeb ( #1898 )
...
Following the ideas in flutter/website#7798 I have changed the imports
needed for Platform and kIsWeb to be explicitly named.
## Pre-launch Checklist
- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] I read the [Contributors Guide].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].
<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
1 year ago
Brett Morgan
36e7a6ab04
Update for Flutter 3.10 beta ( #1746 )
...
## Pre-launch Checklist
- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.
---------
Co-authored-by: David Iglesias <ditman@gmail.com>
Co-authored-by: Mark Thompson <2554588+MarkTechson@users.noreply.github.com>
Co-authored-by: John Ryan <ryjohn@google.com>
2 years ago
Taha Tesser
974aaf12b9
Replace `MaterialButton` in the `AnimatedBuilder` sample ( #1729 )
2 years ago
Brett Morgan
4b6a23dd68
`animations`: Add `flutter_animate` ( #1681 )
2 years ago
Brett Morgan
b52d7f7744
Tidyup `animations` sample ( #1672 )
...
* Tidyup
* Drop `flutterAnimateDemos`
2 years ago
Miguel Beltran
de6e27001e
Enable Material 3 on Animations sample ( #1605 )
2 years ago
Miguel Beltran
4ef8daffb6
Migrate animations to go_router ( #1521 )
2 years ago
Brett Morgan
9d8aa333ee
Update for Material changes & run rebuild scripts ( #1412 )
2 years ago
Brett Morgan
58bc5d7a58
Deps update, utilize `super.key` ( #1265 )
...
* Deps update, utilize `super.key`
* `flutter format`
3 years ago
Brett Morgan
ccd68f34e2
Beta ( #1234 )
3 years ago
Miguel Beltran
35713ac2d9
rename constants ( #1047 )
3 years ago
Miguel Beltran
1fc5ef093b
Add Desktop window setup to Animations sample ( #1035 )
3 years ago
Jonas Cerqueira Junior
ec140beda1
Enable mouse scrolling on Carousel sample ( #965 )
...
* Enable mouse scrollBehavior on carousel sample
Overriding PageVeiw scrollBehavior , adding PointerDeviceKind.mouse as a dragDevice
* Flutter format
3 years ago
Andrew Brogdon
664b63c03c
Updates for 2.8! ( #961 )
3 years ago
Ahmed Ashour
29339b8334
Remove unneeded types ( #949 )
3 years ago
Andrew Brogdon
4cac0e6661
Lands beta branch into master for 2.5 ( #895 )
3 years ago
Brett Morgan
b1a49c0afb
Adjust animations lint rules ( #814 )
3 years ago
Brett Morgan
936d1fdaae
Upgrading samples to flutter_lints, part 1 of n ( #804 )
3 years ago
Andrew Brogdon
8c1cd0b049
Landing beta changes in master for the new stable release ( #747 )
4 years ago
Brett Morgan
622e8d55d3
Migrate to the New Material Buttons ( #668 )
4 years ago
Priyanshu Agarwal
6502209a78
bug fix in cutomTweenDemo ( #675 )
4 years ago
Alabhya
e940d54618
Added title ( #614 )
4 years ago
Alabhya
0264184a2c
[animation] Replaced depricated property(overflow) with new one(clipBehavior) ( #607 )
4 years ago
Tushar Ojha
092e78162c
[Animations] Button size increased ( #600 )
4 years ago
Mohak Shrivastava
850eff6330
add remove-button ( #545 )
4 years ago
Brett Morgan
baa1f976b2
Samples maintenance ( #435 )
5 years ago
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>
5 years ago
Andrew Brogdon
c7f5030079
Moved two animation vignettes into misc. ( #425 )
5 years ago
Ayush Kumar Shaw
ed284c78bd
Added CurvedAnimation Sample ( #385 )
5 years ago
Brett Morgan
28742ddeaf
Adding directives_ordering ( #396 )
5 years ago
Ayush Bherwani
f8e3d391f3
Added more examples in animations ( #341 )
5 years ago
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>
5 years ago
Jaideep Prasad
b1a4a24f64
[animations] new animation sample: Hero Animation Demo ( #364 )
5 years ago
Andrew Brogdon
1289227832
Moving animated list sample ( #366 )
5 years ago
Govind Dixit
c358eda342
feat: add more animations examples ( #345 )
5 years ago
Harun Madanoglu
f98d66d514
Fix - text on MaterialButton not changing ( #324 )
5 years ago
Matt Sullivan
f2ca77008a
Updated spring animation example ( #158 )
5 years ago
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
5 years ago
Thea Flowers
e3338726c6
Add shared analysis_options.yaml to animation samples ( #145 )
5 years ago
John Ryan
f9d973e7ba
call super.dispose() in sample ( #141 )
...
closes flutter/flutter#40157
5 years ago
Thea Flowers
4481391d39
Fix small nits with the animation samples ( #138 )
5 years ago
Thea Flowers
3348c2f2dd
Add helpful comments to the animation samples ( #136 )
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago